@ai-ecoverse/wasix-ruby 3.4.11-2 → 3.4.11-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (722) hide show
  1. package/PRESTAGE.md +31 -15
  2. package/bin/bundle +1 -1
  3. package/bin/bundler +1 -1
  4. package/bin/erb +1 -1
  5. package/bin/gem +1 -1
  6. package/bin/irb +1 -1
  7. package/bin/rake +1 -1
  8. package/bin/ruby +1 -0
  9. package/bin/ruby.wasm +0 -0
  10. package/lib/ruby/3.4.0/socket.rb +1790 -0
  11. package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +5 -5
  12. package/lib/ruby/gems/3.4.0/cache/abbrev-0.1.2.gem +0 -0
  13. package/lib/ruby/gems/3.4.0/cache/base64-0.2.0.gem +0 -0
  14. package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
  15. package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
  16. package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
  17. package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
  18. package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
  19. package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
  20. package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
  21. package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
  22. package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
  23. package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
  24. package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
  25. package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
  26. package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
  27. package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
  28. package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
  29. package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
  30. package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
  31. package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
  32. package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
  33. package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
  34. package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
  35. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
  36. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
  37. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
  38. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
  39. package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
  40. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
  41. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
  42. package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
  43. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
  44. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
  45. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
  46. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
  47. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
  48. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
  49. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
  50. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
  51. package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
  52. package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
  53. package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
  54. package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
  55. package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
  56. package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
  57. package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
  58. package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
  59. package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
  60. package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
  61. package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
  62. package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
  63. package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
  64. package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
  65. package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
  66. package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
  67. package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
  68. package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
  69. package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
  70. package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
  71. package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
  72. package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
  73. package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
  74. package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
  75. package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
  76. package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
  77. package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
  78. package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
  79. package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
  80. package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
  81. package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
  82. package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
  83. package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
  84. package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
  85. package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
  86. package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
  87. package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
  88. package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
  89. package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
  90. package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
  91. package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
  92. package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
  93. package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
  94. package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
  95. package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
  96. package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
  97. package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
  98. package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
  99. package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
  100. package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
  101. package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
  102. package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
  103. package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
  104. package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
  105. package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
  106. package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
  107. package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
  108. package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
  109. package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
  110. package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
  111. package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
  112. package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
  113. package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
  114. package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
  115. package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
  116. package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
  117. package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
  118. package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
  119. package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
  120. package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
  121. package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
  122. package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
  123. package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
  124. package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
  125. package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
  126. package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
  127. package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
  128. package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
  129. package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
  130. package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
  131. package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
  132. package/package.json +19 -13
  133. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
  134. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
  135. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
  136. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
  137. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
  138. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +0 -90
  139. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +0 -89
  140. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +0 -232
  141. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +0 -80
  142. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +0 -185
  143. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +0 -5
  144. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +0 -74
  145. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +0 -40
  146. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +0 -21
  147. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
  148. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +0 -573
  149. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +0 -10
  150. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +0 -22
  151. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +0 -996
  152. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +0 -57
  153. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +0 -23
  154. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
  155. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
  156. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +0 -53
  157. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +0 -77
  158. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +0 -556
  159. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +0 -263
  160. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +0 -123
  161. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +0 -592
  162. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +0 -224
  163. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +0 -336
  164. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +0 -190
  165. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +0 -37
  166. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +0 -115
  167. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +0 -13
  168. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +0 -15
  169. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +0 -50
  170. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +0 -534
  171. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +0 -1348
  172. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +0 -1108
  173. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +0 -2667
  174. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +0 -150
  175. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +0 -5
  176. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +0 -1457
  177. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +0 -241
  178. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +0 -5
  179. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +0 -9
  180. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +0 -660
  181. package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
  182. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
  183. package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
  184. package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
  185. package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
  186. package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
  187. package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
  188. package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
  189. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
  190. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +0 -5
  191. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +0 -22
  192. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +0 -38
  193. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +0 -24
  194. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -14
  195. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/setup +0 -8
  196. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +0 -283
  197. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +0 -6
  198. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
  199. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
  200. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
  201. package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
  202. package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
  203. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
  204. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +0 -22
  205. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +0 -56
  206. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
  207. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
  208. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
  209. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +0 -5
  210. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
  211. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
  212. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
  213. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
  214. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
  215. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
  216. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
  217. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
  218. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
  219. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
  220. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
  221. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
  222. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
  223. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
  224. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
  225. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
  226. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
  227. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
  228. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
  229. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
  230. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
  231. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
  232. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
  233. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
  234. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
  235. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
  236. package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
  237. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
  238. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
  239. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +0 -22
  240. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +0 -1854
  241. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +0 -56
  242. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +0 -203
  243. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +0 -415
  244. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +0 -44
  245. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +0 -311
  246. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +0 -4062
  247. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +0 -375
  248. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +0 -150
  249. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +0 -277
  250. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +0 -220
  251. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +0 -171
  252. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +0 -786
  253. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +0 -96
  254. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +0 -415
  255. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +0 -981
  256. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +0 -1371
  257. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +0 -2405
  258. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +0 -92
  259. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +0 -630
  260. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +0 -6
  261. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +0 -673
  262. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +0 -760
  263. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +0 -376
  264. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +0 -82
  265. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +0 -550
  266. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +0 -11
  267. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +0 -2936
  268. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +0 -331
  269. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +0 -1151
  270. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +0 -644
  271. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +0 -184
  272. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +0 -1861
  273. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +0 -1413
  274. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +0 -984
  275. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +0 -70
  276. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +0 -3402
  277. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +0 -3054
  278. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +0 -207
  279. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +0 -635
  280. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +0 -729
  281. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +0 -386
  282. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +0 -1704
  283. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +0 -209
  284. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +0 -818
  285. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +0 -110
  286. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +0 -166
  287. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +0 -190
  288. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +0 -868
  289. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +0 -2296
  290. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +0 -1065
  291. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +0 -237
  292. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +0 -1107
  293. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +0 -531
  294. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +0 -88
  295. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +0 -1229
  296. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +0 -1209
  297. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +0 -293
  298. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +0 -59
  299. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +0 -1928
  300. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +0 -765
  301. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +0 -6
  302. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +0 -38
  303. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +0 -6
  304. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +0 -176
  305. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +0 -15
  306. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +0 -6
  307. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +0 -7
  308. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +0 -49
  309. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +0 -148
  310. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +0 -1171
  311. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +0 -15
  312. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +0 -23
  313. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +0 -5
  314. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +0 -10
  315. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +0 -294
  316. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +0 -621
  317. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +0 -100
  318. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +0 -3583
  319. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +0 -667
  320. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +0 -475
  321. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +0 -1765
  322. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +0 -79
  323. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +0 -1762
  324. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +0 -477
  325. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +0 -98
  326. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +0 -329
  327. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +0 -87
  328. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +0 -106
  329. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +0 -110
  330. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +0 -192
  331. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +0 -86
  332. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +0 -57
  333. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +0 -309
  334. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +0 -125
  335. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +0 -167
  336. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +0 -147
  337. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +0 -905
  338. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +0 -17
  339. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +0 -7
  340. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +0 -91
  341. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +0 -82
  342. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +0 -72
  343. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +0 -7
  344. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +0 -92
  345. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +0 -199
  346. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +0 -92
  347. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +0 -400
  348. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +0 -131
  349. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +0 -8
  350. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +0 -29
  351. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +0 -29
  352. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +0 -467
  353. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +0 -39
  354. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +0 -449
  355. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +0 -225
  356. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +0 -137
  357. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +0 -67
  358. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +0 -58
  359. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +0 -48
  360. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +0 -83
  361. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +0 -356
  362. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +0 -1223
  363. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +0 -38
  364. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +0 -92
  365. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +0 -223
  366. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +0 -81
  367. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +0 -32
  368. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +0 -14
  369. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +0 -258
  370. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +0 -81
  371. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +0 -48
  372. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +0 -50
  373. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +0 -38
  374. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +0 -16
  375. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +0 -28
  376. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +0 -395
  377. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +0 -620
  378. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +0 -254
  379. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +0 -841
  380. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +0 -125
  381. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +0 -77
  382. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +0 -818
  383. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +0 -173
  384. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +0 -155
  385. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +0 -600
  386. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +0 -18
  387. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +0 -28
  388. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +0 -138
  389. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +0 -241
  390. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +0 -141
  391. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +0 -125
  392. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +0 -15
  393. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +0 -23
  394. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +0 -77
  395. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +0 -140
  396. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +0 -99
  397. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +0 -840
  398. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +0 -641
  399. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +0 -59
  400. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +0 -19
  401. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +0 -279
  402. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +0 -667
  403. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +0 -127
  404. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +0 -219
  405. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +0 -91
  406. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +0 -198
  407. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +0 -83
  408. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +0 -201
  409. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +0 -80
  410. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +0 -30
  411. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +0 -212
  412. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +0 -19
  413. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +0 -84
  414. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +0 -50
  415. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +0 -167
  416. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +0 -433
  417. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +0 -112
  418. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +0 -100
  419. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +0 -126
  420. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +0 -109
  421. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +0 -1557
  422. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +0 -176
  423. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +0 -136
  424. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +0 -341
  425. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +0 -143
  426. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +0 -6
  427. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +0 -182
  428. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +0 -189
  429. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +0 -71
  430. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +0 -5
  431. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +0 -419
  432. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +0 -93
  433. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +0 -20
  434. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +0 -163
  435. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
  436. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
  437. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +0 -14
  438. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +0 -26
  439. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +0 -326
  440. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +0 -87
  441. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +0 -56
  442. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +0 -266
  443. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +0 -50
  444. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +0 -36
  445. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +0 -317
  446. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +0 -163
  447. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +0 -60
  448. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +0 -102
  449. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +0 -24
  450. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +0 -82
  451. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +0 -30
  452. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +0 -27
  453. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +0 -32
  454. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +0 -44
  455. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +0 -15
  456. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +0 -21
  457. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +0 -43
  458. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +0 -87
  459. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +0 -13
  460. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +0 -74
  461. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +0 -66
  462. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +0 -46
  463. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +0 -17
  464. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +0 -214
  465. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +0 -4
  466. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +0 -26
  467. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +0 -21
  468. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +0 -267
  469. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +0 -173
  470. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +0 -165
  471. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +0 -28
  472. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +0 -61
  473. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +0 -277
  474. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +0 -111
  475. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +0 -65
  476. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +0 -383
  477. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +0 -5
  478. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +0 -28
  479. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +0 -110
  480. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +0 -58
  481. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +0 -7
  482. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +0 -258
  483. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +0 -84
  484. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +0 -58
  485. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +0 -146
  486. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +0 -96
  487. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +0 -27
  488. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +0 -20
  489. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +0 -96
  490. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +0 -75
  491. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +0 -182
  492. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +0 -21
  493. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +0 -67
  494. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +0 -85
  495. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +0 -92
  496. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +0 -34
  497. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +0 -35
  498. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +0 -38
  499. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +0 -5
  500. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +0 -19
  501. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +0 -41
  502. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +0 -48
  503. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +0 -37
  504. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +0 -52
  505. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +0 -9
  506. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +0 -19
  507. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +0 -82
  508. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +0 -53
  509. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +0 -98
  510. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +0 -110
  511. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +0 -79
  512. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +0 -576
  513. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +0 -154
  514. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +0 -28
  515. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +0 -194
  516. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +0 -136
  517. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +0 -35
  518. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +0 -9
  519. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +0 -59
  520. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +0 -87
  521. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +0 -51
  522. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +0 -3
  523. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +0 -47
  524. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +0 -127
  525. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +0 -153
  526. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +0 -793
  527. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +0 -66
  528. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +0 -26
  529. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +0 -355
  530. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +0 -452
  531. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +0 -1629
  532. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +0 -119
  533. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +0 -2
  534. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +0 -1285
  535. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +0 -3
  536. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +0 -263
  537. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +0 -3776
  538. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +0 -3
  539. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +0 -1585
  540. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +0 -616
  541. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +0 -26
  542. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +0 -421
  543. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +0 -184
  544. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +0 -47
  545. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +0 -96
  546. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +0 -343
  547. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +0 -577
  548. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +0 -532
  549. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +0 -865
  550. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +0 -1734
  551. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +0 -49
  552. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +0 -268
  553. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +0 -414
  554. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +0 -428
  555. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +0 -1914
  556. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +0 -166
  557. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +0 -45
  558. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +0 -100
  559. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +0 -796
  560. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +0 -2
  561. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +0 -17
  562. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +0 -34
  563. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +0 -42
  564. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +0 -52
  565. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +0 -17
  566. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +0 -590
  567. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +0 -23
  568. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +0 -102
  569. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +0 -259
  570. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +0 -25
  571. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +0 -13
  572. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +0 -3
  573. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +0 -2
  574. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +0 -21
  575. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +0 -64
  576. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +0 -64
  577. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +0 -46
  578. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +0 -5
  579. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +0 -3
  580. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +0 -2
  581. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +0 -62
  582. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +0 -19
  583. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +0 -11
  584. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +0 -53
  585. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +0 -5
  586. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +0 -28
  587. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +0 -163
  588. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +0 -6
  589. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +0 -48
  590. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +0 -129
  591. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +0 -11
  592. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +0 -81
  593. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +0 -18
  594. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +0 -92
  595. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +0 -69
  596. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +0 -12
  597. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +0 -6
  598. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +0 -3
  599. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +0 -4
  600. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +0 -115
  601. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +0 -354
  602. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +0 -104
  603. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +0 -3
  604. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +0 -5552
  605. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +0 -2
  606. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +0 -56
  607. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +0 -2
  608. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +0 -55
  609. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +0 -402
  610. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +0 -487
  611. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +0 -217
  612. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +0 -4
  613. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +0 -393
  614. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +0 -147
  615. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +0 -3
  616. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +0 -12113
  617. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +0 -1725
  618. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +0 -1406
  619. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +0 -2
  620. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +0 -300
  621. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +0 -383
  622. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +0 -603
  623. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +0 -12
  624. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +0 -237
  625. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +0 -3
  626. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +0 -402
  627. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +0 -59
  628. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +0 -237
  629. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +0 -51
  630. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +0 -59
  631. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +0 -153
  632. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +0 -117
  633. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +0 -56
  634. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +0 -391
  635. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +0 -17
  636. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +0 -48
  637. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +0 -97
  638. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +0 -3
  639. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +0 -1830
  640. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +0 -1648
  641. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +0 -62
  642. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +0 -229
  643. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +0 -131
  644. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +0 -666
  645. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +0 -590
  646. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +0 -2295
  647. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +0 -92
  648. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +0 -4157
  649. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +0 -5
  650. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +0 -192
  651. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +0 -79
  652. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +0 -133
  653. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +0 -169
  654. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +0 -170
  655. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +0 -567
  656. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +0 -1627
  657. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +0 -479
  658. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +0 -432
  659. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +0 -81
  660. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +0 -69
  661. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +0 -5
  662. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +0 -20
  663. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +0 -409
  664. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +0 -582
  665. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +0 -118
  666. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +0 -13
  667. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +0 -1108
  668. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +0 -104
  669. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +0 -14
  670. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +0 -230
  671. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +0 -14
  672. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +0 -92
  673. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +0 -189
  674. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +0 -2
  675. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +0 -13
  676. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +0 -9
  677. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +0 -2
  678. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +0 -1
  679. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +0 -10
  680. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +0 -10
  681. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +0 -210
  682. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +0 -20
  683. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +0 -12
  684. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +0 -23
  685. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +0 -12
  686. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +0 -11
  687. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +0 -156
  688. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +0 -293
  689. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +0 -166
  690. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +0 -180
  691. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +0 -10
  692. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +0 -13
  693. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +0 -11
  694. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +0 -11
  695. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +0 -11
  696. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +0 -449
  697. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +0 -200
  698. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +0 -20
  699. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +0 -10
  700. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +0 -36
  701. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +0 -27
  702. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +0 -122
  703. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
  704. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
  705. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
  706. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +0 -5
  707. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +0 -22
  708. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +0 -41
  709. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +0 -20
  710. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -14
  711. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -8
  712. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +0 -209
  713. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +0 -10
  714. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
  715. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
  716. package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
  717. package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +0 -50
  718. package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +0 -33
  719. package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +0 -43
  720. package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +0 -26
  721. package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +0 -49
  722. package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +0 -26
@@ -1,1413 +0,0 @@
1
- # <!-- rdoc-file=numeric.c -->
2
- # An Integer object represents an integer value.
3
- #
4
- # You can create an Integer object explicitly with:
5
- #
6
- # * An [integer literal](rdoc-ref:syntax/literals.rdoc@Integer+Literals).
7
- #
8
- # You can convert certain objects to Integers with:
9
- #
10
- # * Method #Integer.
11
- #
12
- # An attempt to add a singleton method to an instance of this class causes an
13
- # exception to be raised.
14
- #
15
- # ## What's Here
16
- #
17
- # First, what's elsewhere. Class Integer:
18
- #
19
- # * Inherits from [class Numeric](rdoc-ref:Numeric@What-27s+Here) and [class
20
- # Object](rdoc-ref:Object@What-27s+Here).
21
- # * Includes [module Comparable](rdoc-ref:Comparable@What-27s+Here).
22
- #
23
- # Here, class Integer provides methods for:
24
- #
25
- # * [Querying](rdoc-ref:Integer@Querying)
26
- # * [Comparing](rdoc-ref:Integer@Comparing)
27
- # * [Converting](rdoc-ref:Integer@Converting)
28
- # * [Other](rdoc-ref:Integer@Other)
29
- #
30
- # ### Querying
31
- #
32
- # * #allbits?: Returns whether all bits in `self` are set.
33
- # * #anybits?: Returns whether any bits in `self` are set.
34
- # * #nobits?: Returns whether no bits in `self` are set.
35
- #
36
- # ### Comparing
37
- #
38
- # * #<: Returns whether `self` is less than the given value.
39
- # * #<=: Returns whether `self` is less than or equal to the given value.
40
- # * #<=>: Returns a number indicating whether `self` is less than, equal to,
41
- # or greater than the given value.
42
- # * #== (aliased as #===): Returns whether `self` is equal to the given
43
- # value.
44
- #
45
- # * #>: Returns whether `self` is greater than the given value.
46
- # * #>=: Returns whether `self` is greater than or equal to the given value.
47
- #
48
- # ### Converting
49
- #
50
- # * ::sqrt: Returns the integer square root of the given value.
51
- # * ::try_convert: Returns the given value converted to an Integer.
52
- # * #% (aliased as #modulo): Returns `self` modulo the given value.
53
- # * #&: Returns the bitwise AND of `self` and the given value.
54
- # * #*: Returns the product of `self` and the given value.
55
- # * #**: Returns the value of `self` raised to the power of the given value.
56
- # * #+: Returns the sum of `self` and the given value.
57
- # * #-: Returns the difference of `self` and the given value.
58
- # * #/: Returns the quotient of `self` and the given value.
59
- # * #<<: Returns the value of `self` after a leftward bit-shift.
60
- # * #>>: Returns the value of `self` after a rightward bit-shift.
61
- # * #[]: Returns a slice of bits from `self`.
62
- # * #^: Returns the bitwise EXCLUSIVE OR of `self` and the given value.
63
- # * #|: Returns the bitwise OR of `self` and the given value.
64
- # * #ceil: Returns the smallest number greater than or equal to `self`.
65
- # * #chr: Returns a 1-character string containing the character represented by
66
- # the value of `self`.
67
- # * #digits: Returns an array of integers representing the base-radix digits
68
- # of `self`.
69
- # * #div: Returns the integer result of dividing `self` by the given value.
70
- # * #divmod: Returns a 2-element array containing the quotient and remainder
71
- # results of dividing `self` by the given value.
72
- # * #fdiv: Returns the Float result of dividing `self` by the given value.
73
- # * #floor: Returns the greatest number smaller than or equal to `self`.
74
- # * #pow: Returns the modular exponentiation of `self`.
75
- # * #pred: Returns the integer predecessor of `self`.
76
- # * #remainder: Returns the remainder after dividing `self` by the given
77
- # value.
78
- # * #round: Returns `self` rounded to the nearest value with the given
79
- # precision.
80
- # * #succ (aliased as #next): Returns the integer successor of `self`.
81
- # * #to_f: Returns `self` converted to a Float.
82
- # * #to_s (aliased as #inspect): Returns a string containing the place-value
83
- # representation of `self` in the given radix.
84
- # * #truncate: Returns `self` truncated to the given precision.
85
- #
86
- # ### Other
87
- #
88
- # * #downto: Calls the given block with each integer value from `self` down to
89
- # the given value.
90
- # * #times: Calls the given block `self` times with each integer in
91
- # `(0..self-1)`.
92
- # * #upto: Calls the given block with each integer value from `self` up to the
93
- # given value.
94
- #
95
- class Integer < Numeric
96
- # <!--
97
- # rdoc-file=numeric.c
98
- # - Integer.sqrt(numeric) -> integer
99
- # -->
100
- # Returns the integer square root of the non-negative integer `n`, which is the
101
- # largest non-negative integer less than or equal to the square root of
102
- # `numeric`.
103
- #
104
- # Integer.sqrt(0) # => 0
105
- # Integer.sqrt(1) # => 1
106
- # Integer.sqrt(24) # => 4
107
- # Integer.sqrt(25) # => 5
108
- # Integer.sqrt(10**400) # => 10**200
109
- #
110
- # If `numeric` is not an Integer, it is converted to an Integer:
111
- #
112
- # Integer.sqrt(Complex(4, 0)) # => 2
113
- # Integer.sqrt(Rational(4, 1)) # => 2
114
- # Integer.sqrt(4.0) # => 2
115
- # Integer.sqrt(3.14159) # => 1
116
- #
117
- # This method is equivalent to `Math.sqrt(numeric).floor`, except that the
118
- # result of the latter code may differ from the true value due to the limited
119
- # precision of floating point arithmetic.
120
- #
121
- # Integer.sqrt(10**46) # => 100000000000000000000000
122
- # Math.sqrt(10**46).floor # => 99999999999999991611392
123
- #
124
- # Raises an exception if `numeric` is negative.
125
- #
126
- def self.sqrt: (int n) -> Integer
127
-
128
- # <!--
129
- # rdoc-file=numeric.c
130
- # - Integer.try_convert(object) -> object, integer, or nil
131
- # -->
132
- # If `object` is an Integer object, returns `object`.
133
- # Integer.try_convert(1) # => 1
134
- #
135
- # Otherwise if `object` responds to `:to_int`, calls `object.to_int` and returns
136
- # the result.
137
- # Integer.try_convert(1.25) # => 1
138
- #
139
- # Returns `nil` if `object` does not respond to `:to_int`
140
- # Integer.try_convert([]) # => nil
141
- #
142
- # Raises an exception unless `object.to_int` returns an Integer object.
143
- #
144
- def self.try_convert: (int) -> Integer
145
- | (untyped) -> Integer?
146
-
147
- # <!--
148
- # rdoc-file=numeric.c
149
- # - self % other -> real_number
150
- # -->
151
- # Returns `self` modulo `other` as a real number.
152
- #
153
- # For integer `n` and real number `r`, these expressions are equivalent:
154
- #
155
- # n % r
156
- # n-r*(n/r).floor
157
- # n.divmod(r)[1]
158
- #
159
- # See Numeric#divmod.
160
- #
161
- # Examples:
162
- #
163
- # 10 % 2 # => 0
164
- # 10 % 3 # => 1
165
- # 10 % 4 # => 2
166
- #
167
- # 10 % -2 # => 0
168
- # 10 % -3 # => -2
169
- # 10 % -4 # => -2
170
- #
171
- # 10 % 3.0 # => 1.0
172
- # 10 % Rational(3, 1) # => (1/1)
173
- #
174
- def %: (Float) -> Float
175
- | (Rational) -> Rational
176
- | (Integer) -> Integer
177
- | (Numeric) -> Numeric
178
-
179
- # <!--
180
- # rdoc-file=numeric.c
181
- # - self & other -> integer
182
- # -->
183
- # Bitwise AND; each bit in the result is 1 if both corresponding bits in `self`
184
- # and `other` are 1, 0 otherwise:
185
- #
186
- # "%04b" % (0b0101 & 0b0110) # => "0100"
187
- #
188
- # Raises an exception if `other` is not an Integer.
189
- #
190
- # Related: Integer#| (bitwise OR), Integer#^ (bitwise EXCLUSIVE OR).
191
- #
192
- def &: (Integer) -> Integer
193
-
194
- # <!--
195
- # rdoc-file=numeric.c
196
- # - self * numeric -> numeric_result
197
- # -->
198
- # Performs multiplication:
199
- #
200
- # 4 * 2 # => 8
201
- # 4 * -2 # => -8
202
- # -4 * 2 # => -8
203
- # 4 * 2.0 # => 8.0
204
- # 4 * Rational(1, 3) # => (4/3)
205
- # 4 * Complex(2, 0) # => (8+0i)
206
- #
207
- def *: (Float) -> Float
208
- | (Rational) -> Rational
209
- | (Complex) -> Complex
210
- | (Integer) -> Integer
211
-
212
- # <!--
213
- # rdoc-file=numeric.c
214
- # - self ** numeric -> numeric_result
215
- # -->
216
- # Raises `self` to the power of `numeric`:
217
- #
218
- # 2 ** 3 # => 8
219
- # 2 ** -3 # => (1/8)
220
- # -2 ** 3 # => -8
221
- # -2 ** -3 # => (-1/8)
222
- # 2 ** 3.3 # => 9.849155306759329
223
- # 2 ** Rational(3, 1) # => (8/1)
224
- # 2 ** Complex(3, 0) # => (8+0i)
225
- #
226
- def **: (Integer) -> Numeric
227
- | (Float) -> Numeric
228
- | (Rational) -> Numeric
229
- | (Complex) -> Complex
230
-
231
- # <!--
232
- # rdoc-file=numeric.c
233
- # - self + numeric -> numeric_result
234
- # -->
235
- # Performs addition:
236
- #
237
- # 2 + 2 # => 4
238
- # -2 + 2 # => 0
239
- # -2 + -2 # => -4
240
- # 2 + 2.0 # => 4.0
241
- # 2 + Rational(2, 1) # => (4/1)
242
- # 2 + Complex(2, 0) # => (4+0i)
243
- #
244
- def +: (Integer) -> Integer
245
- | (Float) -> Float
246
- | (Rational) -> Rational
247
- | (Complex) -> Complex
248
-
249
- def +@: () -> Integer
250
-
251
- # <!--
252
- # rdoc-file=numeric.c
253
- # - self - numeric -> numeric_result
254
- # -->
255
- # Performs subtraction:
256
- #
257
- # 4 - 2 # => 2
258
- # -4 - 2 # => -6
259
- # -4 - -2 # => -2
260
- # 4 - 2.0 # => 2.0
261
- # 4 - Rational(2, 1) # => (2/1)
262
- # 4 - Complex(2, 0) # => (2+0i)
263
- #
264
- def -: (Integer) -> Integer
265
- | (Float) -> Float
266
- | (Rational) -> Rational
267
- | (Complex) -> Complex
268
-
269
- # <!--
270
- # rdoc-file=numeric.rb
271
- # - -int -> integer
272
- # -->
273
- # Returns `self`, negated.
274
- #
275
- def -@: () -> Integer
276
-
277
- # <!--
278
- # rdoc-file=numeric.c
279
- # - self / numeric -> numeric_result
280
- # -->
281
- # Performs division; for integer `numeric`, truncates the result to an integer:
282
- #
283
- # 4 / 3 # => 1
284
- # 4 / -3 # => -2
285
- # -4 / 3 # => -2
286
- # -4 / -3 # => 1
287
- #
288
- # For other +numeric+, returns non-integer result:
289
- #
290
- # 4 / 3.0 # => 1.3333333333333333
291
- # 4 / Rational(3, 1) # => (4/3)
292
- # 4 / Complex(3, 0) # => ((4/3)+0i)
293
- #
294
- def /: (Integer) -> Integer
295
- | (Float) -> Float
296
- | (Rational) -> Rational
297
- | (Complex) -> Complex
298
-
299
- # <!--
300
- # rdoc-file=numeric.c
301
- # - self < other -> true or false
302
- # -->
303
- # Returns `true` if the value of `self` is less than that of `other`:
304
- #
305
- # 1 < 0 # => false
306
- # 1 < 1 # => false
307
- # 1 < 2 # => true
308
- # 1 < 0.5 # => false
309
- # 1 < Rational(1, 2) # => false
310
- #
311
- # Raises an exception if the comparison cannot be made.
312
- #
313
- def <: (Numeric) -> bool
314
-
315
- # <!--
316
- # rdoc-file=numeric.c
317
- # - self << count -> integer
318
- # -->
319
- # Returns `self` with bits shifted `count` positions to the left, or to the
320
- # right if `count` is negative:
321
- #
322
- # n = 0b11110000
323
- # "%08b" % (n << 1) # => "111100000"
324
- # "%08b" % (n << 3) # => "11110000000"
325
- # "%08b" % (n << -1) # => "01111000"
326
- # "%08b" % (n << -3) # => "00011110"
327
- #
328
- # Related: Integer#>>.
329
- #
330
- def <<: (int) -> Integer
331
-
332
- # <!--
333
- # rdoc-file=numeric.c
334
- # - self <= real -> true or false
335
- # -->
336
- # Returns `true` if the value of `self` is less than or equal to that of
337
- # `other`:
338
- #
339
- # 1 <= 0 # => false
340
- # 1 <= 1 # => true
341
- # 1 <= 2 # => true
342
- # 1 <= 0.5 # => false
343
- # 1 <= Rational(1, 2) # => false
344
- #
345
- # Raises an exception if the comparison cannot be made.
346
- #
347
- def <=: (Numeric) -> bool
348
-
349
- # <!--
350
- # rdoc-file=numeric.c
351
- # - self <=> other -> -1, 0, +1, or nil
352
- # -->
353
- # Returns:
354
- #
355
- # * -1, if `self` is less than `other`.
356
- # * 0, if `self` is equal to `other`.
357
- # * 1, if `self` is greater then `other`.
358
- # * `nil`, if `self` and `other` are incomparable.
359
- #
360
- # Examples:
361
- #
362
- # 1 <=> 2 # => -1
363
- # 1 <=> 1 # => 0
364
- # 1 <=> 0 # => 1
365
- # 1 <=> 'foo' # => nil
366
- #
367
- # 1 <=> 1.0 # => 0
368
- # 1 <=> Rational(1, 1) # => 0
369
- # 1 <=> Complex(1, 0) # => 0
370
- #
371
- # This method is the basis for comparisons in module Comparable.
372
- #
373
- def <=>: (Integer | Rational) -> Integer
374
- | (untyped) -> Integer?
375
-
376
- # <!-- rdoc-file=numeric.c -->
377
- # Returns `true` if `self` is numerically equal to `other`; `false` otherwise.
378
- #
379
- # 1 == 2 #=> false
380
- # 1 == 1.0 #=> true
381
- #
382
- # Related: Integer#eql? (requires `other` to be an Integer).
383
- #
384
- def ==: (untyped) -> bool
385
-
386
- # <!--
387
- # rdoc-file=numeric.c
388
- # - self == other -> true or false
389
- # -->
390
- # Returns `true` if `self` is numerically equal to `other`; `false` otherwise.
391
- #
392
- # 1 == 2 #=> false
393
- # 1 == 1.0 #=> true
394
- #
395
- # Related: Integer#eql? (requires `other` to be an Integer).
396
- #
397
- def ===: (untyped) -> bool
398
-
399
- # <!--
400
- # rdoc-file=numeric.c
401
- # - self > other -> true or false
402
- # -->
403
- # Returns `true` if the value of `self` is greater than that of `other`:
404
- #
405
- # 1 > 0 # => true
406
- # 1 > 1 # => false
407
- # 1 > 2 # => false
408
- # 1 > 0.5 # => true
409
- # 1 > Rational(1, 2) # => true
410
- #
411
- # Raises an exception if the comparison cannot be made.
412
- #
413
- def >: (Numeric) -> bool
414
-
415
- # <!--
416
- # rdoc-file=numeric.c
417
- # - self >= real -> true or false
418
- # -->
419
- # Returns `true` if the value of `self` is greater than or equal to that of
420
- # `other`:
421
- #
422
- # 1 >= 0 # => true
423
- # 1 >= 1 # => true
424
- # 1 >= 2 # => false
425
- # 1 >= 0.5 # => true
426
- # 1 >= Rational(1, 2) # => true
427
- #
428
- # Raises an exception if the comparison cannot be made.
429
- #
430
- def >=: (Numeric) -> bool
431
-
432
- # <!--
433
- # rdoc-file=numeric.c
434
- # - self >> count -> integer
435
- # -->
436
- # Returns `self` with bits shifted `count` positions to the right, or to the
437
- # left if `count` is negative:
438
- #
439
- # n = 0b11110000
440
- # "%08b" % (n >> 1) # => "01111000"
441
- # "%08b" % (n >> 3) # => "00011110"
442
- # "%08b" % (n >> -1) # => "111100000"
443
- # "%08b" % (n >> -3) # => "11110000000"
444
- #
445
- # Related: Integer#<<.
446
- #
447
- def >>: (int) -> Integer
448
-
449
- # <!--
450
- # rdoc-file=numeric.c
451
- # - self[offset] -> 0 or 1
452
- # - self[offset, size] -> integer
453
- # - self[range] -> integer
454
- # -->
455
- # Returns a slice of bits from `self`.
456
- #
457
- # With argument `offset`, returns the bit at the given offset, where offset 0
458
- # refers to the least significant bit:
459
- #
460
- # n = 0b10 # => 2
461
- # n[0] # => 0
462
- # n[1] # => 1
463
- # n[2] # => 0
464
- # n[3] # => 0
465
- #
466
- # In principle, `n[i]` is equivalent to `(n >> i) & 1`. Thus, negative index
467
- # always returns zero:
468
- #
469
- # 255[-1] # => 0
470
- #
471
- # With arguments `offset` and `size`, returns `size` bits from `self`, beginning
472
- # at `offset` and including bits of greater significance:
473
- #
474
- # n = 0b111000 # => 56
475
- # "%010b" % n[0, 10] # => "0000111000"
476
- # "%010b" % n[4, 10] # => "0000000011"
477
- #
478
- # With argument `range`, returns `range.size` bits from `self`, beginning at
479
- # `range.begin` and including bits of greater significance:
480
- #
481
- # n = 0b111000 # => 56
482
- # "%010b" % n[0..9] # => "0000111000"
483
- # "%010b" % n[4..9] # => "0000000011"
484
- #
485
- # Raises an exception if the slice cannot be constructed.
486
- #
487
- def []: (int) -> Integer
488
- | (int i, int len) -> Integer
489
- | (Range[int]) -> Integer
490
-
491
- # <!--
492
- # rdoc-file=numeric.c
493
- # - self ^ other -> integer
494
- # -->
495
- # Bitwise EXCLUSIVE OR; each bit in the result is 1 if the corresponding bits in
496
- # `self` and `other` are different, 0 otherwise:
497
- #
498
- # "%04b" % (0b0101 ^ 0b0110) # => "0011"
499
- #
500
- # Raises an exception if `other` is not an Integer.
501
- #
502
- # Related: Integer#& (bitwise AND), Integer#| (bitwise OR).
503
- #
504
- def ^: (Integer) -> Integer
505
-
506
- # <!--
507
- # rdoc-file=numeric.rb
508
- # - abs -> integer
509
- # -->
510
- # Returns the absolute value of `self`.
511
- #
512
- # (-12345).abs # => 12345
513
- # -12345.abs # => 12345
514
- # 12345.abs # => 12345
515
- #
516
- def abs: () -> Integer
517
-
518
- def abs2: () -> Integer
519
-
520
- # <!--
521
- # rdoc-file=numeric.c
522
- # - allbits?(mask) -> true or false
523
- # -->
524
- # Returns `true` if all bits that are set (=1) in `mask` are also set in `self`;
525
- # returns `false` otherwise.
526
- #
527
- # Example values:
528
- #
529
- # 0b1010101 self
530
- # 0b1010100 mask
531
- # 0b1010100 self & mask
532
- # true self.allbits?(mask)
533
- #
534
- # 0b1010100 self
535
- # 0b1010101 mask
536
- # 0b1010100 self & mask
537
- # false self.allbits?(mask)
538
- #
539
- # Related: Integer#anybits?, Integer#nobits?.
540
- #
541
- def allbits?: (int mask) -> bool
542
-
543
- def angle: () -> (Integer | Float)
544
-
545
- # <!--
546
- # rdoc-file=numeric.c
547
- # - anybits?(mask) -> true or false
548
- # -->
549
- # Returns `true` if any bit that is set (=1) in `mask` is also set in `self`;
550
- # returns `false` otherwise.
551
- #
552
- # Example values:
553
- #
554
- # 0b10000010 self
555
- # 0b11111111 mask
556
- # 0b10000010 self & mask
557
- # true self.anybits?(mask)
558
- #
559
- # 0b00000000 self
560
- # 0b11111111 mask
561
- # 0b00000000 self & mask
562
- # false self.anybits?(mask)
563
- #
564
- # Related: Integer#allbits?, Integer#nobits?.
565
- #
566
- def anybits?: (int mask) -> bool
567
-
568
- alias arg angle
569
-
570
- # <!--
571
- # rdoc-file=numeric.rb
572
- # - bit_length -> integer
573
- # -->
574
- # Returns the number of bits of the value of `self`, which is the bit position
575
- # of the highest-order bit that is different from the sign bit (where the least
576
- # significant bit has bit position 1). If there is no such bit (zero or minus
577
- # one), returns zero.
578
- #
579
- # This method returns `ceil(log2(self < 0 ? -self : self + 1))`>.
580
- #
581
- # (-2**1000-1).bit_length # => 1001
582
- # (-2**1000).bit_length # => 1000
583
- # (-2**1000+1).bit_length # => 1000
584
- # (-2**12-1).bit_length # => 13
585
- # (-2**12).bit_length # => 12
586
- # (-2**12+1).bit_length # => 12
587
- # -0x101.bit_length # => 9
588
- # -0x100.bit_length # => 8
589
- # -0xff.bit_length # => 8
590
- # -2.bit_length # => 1
591
- # -1.bit_length # => 0
592
- # 0.bit_length # => 0
593
- # 1.bit_length # => 1
594
- # 0xff.bit_length # => 8
595
- # 0x100.bit_length # => 9
596
- # (2**12-1).bit_length # => 12
597
- # (2**12).bit_length # => 13
598
- # (2**12+1).bit_length # => 13
599
- # (2**1000-1).bit_length # => 1000
600
- # (2**1000).bit_length # => 1001
601
- # (2**1000+1).bit_length # => 1001
602
- #
603
- # For Integer *n*, this method can be used to detect overflow in Array#pack:
604
- #
605
- # if n.bit_length < 32
606
- # [n].pack('l') # No overflow.
607
- # else
608
- # raise 'Overflow'
609
- # end
610
- #
611
- def bit_length: () -> Integer
612
-
613
- # <!--
614
- # rdoc-file=numeric.c
615
- # - ceil(ndigits = 0) -> integer
616
- # -->
617
- # Returns an integer that is a "ceiling" value for `self`,
618
- # as specified by the given `ndigits`,
619
- # which must be an
620
- # [integer-convertible
621
- # object](rdoc-ref:implicit_conversion.rdoc@Integer-Convertible+Objects).
622
- # * When `self` is zero, returns zero (regardless of the value of `ndigits`):
623
- # 0.ceil(2) # => 0
624
- # 0.ceil(-2) # => 0
625
- #
626
- # * When `self` is non-zero and `ndigits` is non-negative, returns `self`:
627
- # 555.ceil # => 555
628
- # 555.ceil(50) # => 555
629
- #
630
- # * When `self` is non-zero and `ndigits` is negative,
631
- # returns a value based on a computed granularity:
632
- # * The granularity is `10 ** ndigits.abs`.
633
- # * The returned value is the smallest multiple of the granularity
634
- # that is greater than or equal to `self`.
635
- # Examples with positive `self`:
636
- # ndigits|Granularity|1234.ceil(ndigits)
637
- # -------|-----------|------------------
638
- # -1| 10| 1240
639
- # -2| 100| 1300
640
- # -3| 1000| 2000
641
- # -4| 10000| 10000
642
- # -5| 100000| 100000
643
- # Examples with negative `self`:
644
- # ndigits|Granularity|-1234.ceil(ndigits)
645
- # -------|-----------|-------------------
646
- # -1| 10| -1230
647
- # -2| 100| -1200
648
- # -3| 1000| -1000
649
- # -4| 10000| 0
650
- # -5| 100000| 0
651
- # Related: Integer#floor.
652
- #
653
- def ceil: () -> Integer
654
- | (int digits) -> (Integer | Float)
655
-
656
- # <!--
657
- # rdoc-file=numeric.rb
658
- # - ceildiv(numeric) -> integer
659
- # -->
660
- # Returns the result of division `self` by `numeric`. rounded up to the nearest
661
- # integer.
662
- #
663
- # 3.ceildiv(3) # => 1
664
- # 4.ceildiv(3) # => 2
665
- #
666
- # 4.ceildiv(-3) # => -1
667
- # -4.ceildiv(3) # => -1
668
- # -4.ceildiv(-3) # => 2
669
- #
670
- # 3.ceildiv(1.2) # => 3
671
- #
672
- def ceildiv: (Numeric other) -> Integer
673
-
674
- # <!--
675
- # rdoc-file=numeric.c
676
- # - chr -> string
677
- # - chr(encoding) -> string
678
- # -->
679
- # Returns a 1-character string containing the character represented by the value
680
- # of `self`, according to the given `encoding`.
681
- #
682
- # 65.chr # => "A"
683
- # 0.chr # => "\x00"
684
- # 255.chr # => "\xFF"
685
- # string = 255.chr(Encoding::UTF_8)
686
- # string.encoding # => Encoding::UTF_8
687
- #
688
- # Raises an exception if `self` is negative.
689
- #
690
- # Related: Integer#ord.
691
- #
692
- def chr: (?encoding) -> String
693
-
694
- # <!--
695
- # rdoc-file=bignum.c
696
- # - int.coerce(numeric) -> array
697
- # -->
698
- # Returns an array with both a `numeric` and a `int` represented as Integer
699
- # objects or Float objects.
700
- #
701
- # This is achieved by converting `numeric` to an Integer or a Float.
702
- #
703
- # A TypeError is raised if the `numeric` is not an Integer or a Float type.
704
- #
705
- # (0x3FFFFFFFFFFFFFFF+1).coerce(42) #=> [42, 4611686018427387904]
706
- #
707
- def coerce: (Numeric) -> [ Numeric, Numeric ]
708
-
709
- def conj: () -> Integer
710
-
711
- def conjugate: () -> Integer
712
-
713
- # <!--
714
- # rdoc-file=numeric.rb
715
- # - denominator -> 1
716
- # -->
717
- # Returns `1`.
718
- #
719
- def denominator: () -> Integer
720
-
721
- # <!--
722
- # rdoc-file=numeric.c
723
- # - digits(base = 10) -> array_of_integers
724
- # -->
725
- # Returns an array of integers representing the `base`-radix digits of `self`;
726
- # the first element of the array represents the least significant digit:
727
- #
728
- # 12345.digits # => [5, 4, 3, 2, 1]
729
- # 12345.digits(7) # => [4, 6, 6, 0, 5]
730
- # 12345.digits(100) # => [45, 23, 1]
731
- #
732
- # Raises an exception if `self` is negative or `base` is less than 2.
733
- #
734
- def digits: (?int base) -> ::Array[Integer]
735
-
736
- # <!--
737
- # rdoc-file=numeric.c
738
- # - div(numeric) -> integer
739
- # -->
740
- # Performs integer division; returns the integer result of dividing `self` by
741
- # `numeric`:
742
- #
743
- # 4.div(3) # => 1
744
- # 4.div(-3) # => -2
745
- # -4.div(3) # => -2
746
- # -4.div(-3) # => 1
747
- # 4.div(3.0) # => 1
748
- # 4.div(Rational(3, 1)) # => 1
749
- #
750
- # Raises an exception if `numeric` does not have method `div`.
751
- #
752
- def div: (Numeric) -> Integer
753
-
754
- # <!--
755
- # rdoc-file=numeric.c
756
- # - divmod(other) -> array
757
- # -->
758
- # Returns a 2-element array `[q, r]`, where
759
- #
760
- # q = (self/other).floor # Quotient
761
- # r = self % other # Remainder
762
- #
763
- # Examples:
764
- #
765
- # 11.divmod(4) # => [2, 3]
766
- # 11.divmod(-4) # => [-3, -1]
767
- # -11.divmod(4) # => [-3, 1]
768
- # -11.divmod(-4) # => [2, -3]
769
- #
770
- # 12.divmod(4) # => [3, 0]
771
- # 12.divmod(-4) # => [-3, 0]
772
- # -12.divmod(4) # => [-3, 0]
773
- # -12.divmod(-4) # => [3, 0]
774
- #
775
- # 13.divmod(4.0) # => [3, 1.0]
776
- # 13.divmod(Rational(4, 1)) # => [3, (1/1)]
777
- #
778
- def divmod: (Integer) -> [ Integer, Integer ]
779
- | (Float) -> [ Integer, Float ]
780
- | (Rational) -> [ Integer, Rational ]
781
- | (Numeric) -> [ Numeric, Numeric ]
782
-
783
- # <!--
784
- # rdoc-file=numeric.c
785
- # - downto(limit) {|i| ... } -> self
786
- # - downto(limit) -> enumerator
787
- # -->
788
- # Calls the given block with each integer value from `self` down to `limit`;
789
- # returns `self`:
790
- #
791
- # a = []
792
- # 10.downto(5) {|i| a << i } # => 10
793
- # a # => [10, 9, 8, 7, 6, 5]
794
- # a = []
795
- # 0.downto(-5) {|i| a << i } # => 0
796
- # a # => [0, -1, -2, -3, -4, -5]
797
- # 4.downto(5) {|i| fail 'Cannot happen' } # => 4
798
- #
799
- # With no block given, returns an Enumerator.
800
- #
801
- def downto: (Numeric limit) { (Integer) -> void } -> Integer
802
- | (Numeric limit) -> ::Enumerator[Integer, self]
803
-
804
- def dup: () -> self
805
-
806
- def eql?: (untyped) -> bool
807
-
808
- # <!--
809
- # rdoc-file=numeric.rb
810
- # - even? -> true or false
811
- # -->
812
- # Returns `true` if `self` is an even number, `false` otherwise.
813
- #
814
- def even?: () -> bool
815
-
816
- # <!--
817
- # rdoc-file=numeric.c
818
- # - fdiv(numeric) -> float
819
- # -->
820
- # Returns the Float result of dividing `self` by `numeric`:
821
- #
822
- # 4.fdiv(2) # => 2.0
823
- # 4.fdiv(-2) # => -2.0
824
- # -4.fdiv(2) # => -2.0
825
- # 4.fdiv(2.0) # => 2.0
826
- # 4.fdiv(Rational(3, 4)) # => 5.333333333333333
827
- #
828
- # Raises an exception if `numeric` cannot be converted to a Float.
829
- #
830
- def fdiv: (Numeric) -> Float
831
-
832
- def finite?: () -> bool
833
-
834
- # <!--
835
- # rdoc-file=numeric.c
836
- # - floor(ndigits = 0) -> integer
837
- # -->
838
- # Returns an integer that is a "floor" value for `self`,
839
- # as specified by the given `ndigits`,
840
- # which must be an
841
- # [integer-convertible
842
- # object](rdoc-ref:implicit_conversion.rdoc@Integer-Convertible+Objects).
843
- # * When `self` is zero, returns zero (regardless of the value of `ndigits`):
844
- # 0.floor(2) # => 0
845
- # 0.floor(-2) # => 0
846
- #
847
- # * When `self` is non-zero and `ndigits` is non-negative, returns `self`:
848
- # 555.floor # => 555
849
- # 555.floor(50) # => 555
850
- #
851
- # * When `self` is non-zero and `ndigits` is negative,
852
- # returns a value based on a computed granularity:
853
- # * The granularity is `10 ** ndigits.abs`.
854
- # * The returned value is the largest multiple of the granularity
855
- # that is less than or equal to `self`.
856
- # Examples with positive `self`:
857
- # ndigits|Granularity|1234.floor(ndigits)
858
- # -------|-----------|-------------------
859
- # -1| 10| 1230
860
- # -2| 100| 1200
861
- # -3| 1000| 1000
862
- # -4| 10000| 0
863
- # -5| 100000| 0
864
- # Examples with negative `self`:
865
- # ndigits|Granularity|-1234.floor(ndigits)
866
- # -------|-----------|--------------------
867
- # -1| 10| -1240
868
- # -2| 100| -1300
869
- # -3| 1000| -2000
870
- # -4| 10000| -10000
871
- # -5| 100000| -100000
872
- # Related: Integer#ceil.
873
- #
874
- def floor: (?int digits) -> Integer
875
-
876
- # <!--
877
- # rdoc-file=rational.c
878
- # - int.gcd(other_int) -> integer
879
- # -->
880
- # Returns the greatest common divisor of the two integers. The result is always
881
- # positive. 0.gcd(x) and x.gcd(0) return x.abs.
882
- #
883
- # 36.gcd(60) #=> 12
884
- # 2.gcd(2) #=> 2
885
- # 3.gcd(-7) #=> 1
886
- # ((1<<31)-1).gcd((1<<61)-1) #=> 1
887
- #
888
- def gcd: (Integer) -> Integer
889
-
890
- # <!--
891
- # rdoc-file=rational.c
892
- # - int.gcdlcm(other_int) -> array
893
- # -->
894
- # Returns an array with the greatest common divisor and the least common
895
- # multiple of the two integers, [gcd, lcm].
896
- #
897
- # 36.gcdlcm(60) #=> [12, 180]
898
- # 2.gcdlcm(2) #=> [2, 2]
899
- # 3.gcdlcm(-7) #=> [1, 21]
900
- # ((1<<31)-1).gcdlcm((1<<61)-1) #=> [1, 4951760154835678088235319297]
901
- #
902
- def gcdlcm: (Integer) -> [ Integer, Integer ]
903
-
904
- def i: () -> Complex
905
-
906
- def imag: () -> Integer
907
-
908
- def imaginary: () -> Integer
909
-
910
- def infinite?: () -> Integer?
911
-
912
- # <!-- rdoc-file=numeric.c -->
913
- # Returns a string containing the place-value representation of `self` in radix
914
- # `base` (in 2..36).
915
- #
916
- # 12345.to_s # => "12345"
917
- # 12345.to_s(2) # => "11000000111001"
918
- # 12345.to_s(8) # => "30071"
919
- # 12345.to_s(10) # => "12345"
920
- # 12345.to_s(16) # => "3039"
921
- # 12345.to_s(36) # => "9ix"
922
- # 78546939656932.to_s(36) # => "rubyrules"
923
- #
924
- # Raises an exception if `base` is out of range.
925
- #
926
- alias inspect to_s
927
-
928
- # <!--
929
- # rdoc-file=numeric.rb
930
- # - integer? -> true
931
- # -->
932
- # Since `self` is already an Integer, always returns `true`.
933
- #
934
- def integer?: () -> true
935
-
936
- # <!--
937
- # rdoc-file=rational.c
938
- # - int.lcm(other_int) -> integer
939
- # -->
940
- # Returns the least common multiple of the two integers. The result is always
941
- # positive. 0.lcm(x) and x.lcm(0) return zero.
942
- #
943
- # 36.lcm(60) #=> 180
944
- # 2.lcm(2) #=> 2
945
- # 3.lcm(-7) #=> 21
946
- # ((1<<31)-1).lcm((1<<61)-1) #=> 4951760154835678088235319297
947
- #
948
- def lcm: (Integer) -> Integer
949
-
950
- # <!--
951
- # rdoc-file=numeric.rb
952
- # - magnitude()
953
- # -->
954
- #
955
- def magnitude: () -> Integer
956
-
957
- # <!-- rdoc-file=numeric.c -->
958
- # Returns `self` modulo `other` as a real number.
959
- #
960
- # For integer `n` and real number `r`, these expressions are equivalent:
961
- #
962
- # n % r
963
- # n-r*(n/r).floor
964
- # n.divmod(r)[1]
965
- #
966
- # See Numeric#divmod.
967
- #
968
- # Examples:
969
- #
970
- # 10 % 2 # => 0
971
- # 10 % 3 # => 1
972
- # 10 % 4 # => 2
973
- #
974
- # 10 % -2 # => 0
975
- # 10 % -3 # => -2
976
- # 10 % -4 # => -2
977
- #
978
- # 10 % 3.0 # => 1.0
979
- # 10 % Rational(3, 1) # => (1/1)
980
- #
981
- alias modulo %
982
-
983
- def negative?: () -> bool
984
-
985
- # <!-- rdoc-file=numeric.c -->
986
- # Returns the successor integer of `self` (equivalent to `self + 1`):
987
- #
988
- # 1.succ #=> 2
989
- # -1.succ #=> 0
990
- #
991
- # Related: Integer#pred (predecessor value).
992
- #
993
- def next: () -> Integer
994
-
995
- # <!--
996
- # rdoc-file=numeric.c
997
- # - nobits?(mask) -> true or false
998
- # -->
999
- # Returns `true` if no bit that is set (=1) in `mask` is also set in `self`;
1000
- # returns `false` otherwise.
1001
- #
1002
- # Example values:
1003
- #
1004
- # 0b11110000 self
1005
- # 0b00001111 mask
1006
- # 0b00000000 self & mask
1007
- # true self.nobits?(mask)
1008
- #
1009
- # 0b00000001 self
1010
- # 0b11111111 mask
1011
- # 0b00000001 self & mask
1012
- # false self.nobits?(mask)
1013
- #
1014
- # Related: Integer#allbits?, Integer#anybits?.
1015
- #
1016
- def nobits?: (int mask) -> bool
1017
-
1018
- def nonzero?: () -> self?
1019
-
1020
- # <!--
1021
- # rdoc-file=numeric.rb
1022
- # - numerator -> self
1023
- # -->
1024
- # Returns `self`.
1025
- #
1026
- def numerator: () -> Integer
1027
-
1028
- # <!--
1029
- # rdoc-file=numeric.rb
1030
- # - odd? -> true or false
1031
- # -->
1032
- # Returns `true` if `self` is an odd number, `false` otherwise.
1033
- #
1034
- def odd?: () -> bool
1035
-
1036
- # <!--
1037
- # rdoc-file=numeric.rb
1038
- # - ord -> self
1039
- # -->
1040
- # Returns `self`; intended for compatibility to character literals in Ruby 1.9.
1041
- #
1042
- def ord: () -> Integer
1043
-
1044
- alias phase angle
1045
-
1046
- def polar: () -> [ Integer, Integer | Float ]
1047
-
1048
- def positive?: () -> bool
1049
-
1050
- # <!--
1051
- # rdoc-file=numeric.c
1052
- # - integer.pow(numeric) -> numeric
1053
- # - integer.pow(integer, integer) -> integer
1054
- # -->
1055
- # Returns (modular) exponentiation as:
1056
- #
1057
- # a.pow(b) #=> same as a**b
1058
- # a.pow(b, m) #=> same as (a**b) % m, but avoids huge temporary values
1059
- #
1060
- def pow: (Integer other) -> (Integer | Rational)
1061
- | (Integer other, Integer modulo) -> Integer
1062
- | (Float) -> (Float | Complex)
1063
- | (Rational) -> (Float | Rational | Complex)
1064
- | (Complex) -> Complex
1065
-
1066
- # <!--
1067
- # rdoc-file=numeric.c
1068
- # - pred -> next_integer
1069
- # -->
1070
- # Returns the predecessor of `self` (equivalent to `self - 1`):
1071
- #
1072
- # 1.pred #=> 0
1073
- # -1.pred #=> -2
1074
- #
1075
- # Related: Integer#succ (successor value).
1076
- #
1077
- def pred: () -> Integer
1078
-
1079
- def quo: (Integer) -> Rational
1080
- | (Float) -> Float
1081
- | (Rational) -> Rational
1082
- | (Complex) -> Complex
1083
- | (Numeric) -> Numeric
1084
-
1085
- # <!--
1086
- # rdoc-file=rational.c
1087
- # - int.rationalize([eps]) -> rational
1088
- # -->
1089
- # Returns the value as a rational. The optional argument `eps` is always
1090
- # ignored.
1091
- #
1092
- def rationalize: (?Numeric eps) -> Rational
1093
-
1094
- def real: () -> self
1095
-
1096
- def real?: () -> true
1097
-
1098
- def rect: () -> [ Integer, Numeric ]
1099
-
1100
- alias rectangular rect
1101
-
1102
- # <!--
1103
- # rdoc-file=numeric.c
1104
- # - remainder(other) -> real_number
1105
- # -->
1106
- # Returns the remainder after dividing `self` by `other`.
1107
- #
1108
- # Examples:
1109
- #
1110
- # 11.remainder(4) # => 3
1111
- # 11.remainder(-4) # => 3
1112
- # -11.remainder(4) # => -3
1113
- # -11.remainder(-4) # => -3
1114
- #
1115
- # 12.remainder(4) # => 0
1116
- # 12.remainder(-4) # => 0
1117
- # -12.remainder(4) # => 0
1118
- # -12.remainder(-4) # => 0
1119
- #
1120
- # 13.remainder(4.0) # => 1.0
1121
- # 13.remainder(Rational(4, 1)) # => (1/1)
1122
- #
1123
- def remainder: (Integer) -> Integer
1124
- | (Float) -> Float
1125
- | (Rational) -> Rational
1126
- | (Numeric) -> Numeric
1127
-
1128
- # <!--
1129
- # rdoc-file=numeric.c
1130
- # - round(ndigits= 0, half: :up) -> integer
1131
- # -->
1132
- # Returns `self` rounded to the nearest value with a precision of `ndigits`
1133
- # decimal digits.
1134
- #
1135
- # When `ndigits` is negative, the returned value has at least `ndigits.abs`
1136
- # trailing zeros:
1137
- #
1138
- # 555.round(-1) # => 560
1139
- # 555.round(-2) # => 600
1140
- # 555.round(-3) # => 1000
1141
- # -555.round(-2) # => -600
1142
- # 555.round(-4) # => 0
1143
- #
1144
- # Returns `self` when `ndigits` is zero or positive.
1145
- #
1146
- # 555.round # => 555
1147
- # 555.round(1) # => 555
1148
- # 555.round(50) # => 555
1149
- #
1150
- # If keyword argument `half` is given, and `self` is equidistant from the two
1151
- # candidate values, the rounding is according to the given `half` value:
1152
- #
1153
- # * `:up` or `nil`: round away from zero:
1154
- #
1155
- # 25.round(-1, half: :up) # => 30
1156
- # (-25).round(-1, half: :up) # => -30
1157
- #
1158
- # * `:down`: round toward zero:
1159
- #
1160
- # 25.round(-1, half: :down) # => 20
1161
- # (-25).round(-1, half: :down) # => -20
1162
- #
1163
- # * `:even`: round toward the candidate whose last nonzero digit is even:
1164
- #
1165
- # 25.round(-1, half: :even) # => 20
1166
- # 15.round(-1, half: :even) # => 20
1167
- # (-25).round(-1, half: :even) # => -20
1168
- #
1169
- # Raises and exception if the value for `half` is invalid.
1170
- #
1171
- # Related: Integer#truncate.
1172
- #
1173
- def round: (?half: :up | :down | :even) -> Integer
1174
- | (int digits, ?half: :up | :down | :even) -> (Integer | Float)
1175
-
1176
- # <!--
1177
- # rdoc-file=numeric.rb
1178
- # - size -> integer
1179
- # -->
1180
- # Returns the number of bytes in the machine representation of `self`; the value
1181
- # is system-dependent:
1182
- #
1183
- # 1.size # => 8
1184
- # -1.size # => 8
1185
- # 2147483647.size # => 8
1186
- # (256**10 - 1).size # => 10
1187
- # (256**20 - 1).size # => 20
1188
- # (256**40 - 1).size # => 40
1189
- #
1190
- def size: () -> Integer
1191
-
1192
- def step: () { (Integer) -> void } -> void
1193
- | (Numeric limit, ?Integer step) { (Integer) -> void } -> void
1194
- | (Numeric limit, ?Numeric step) { (Numeric) -> void } -> void
1195
- | (to: Numeric, ?by: Integer) { (Integer) -> void } -> void
1196
- | (by: Numeric, ?to: Numeric) { (Numeric) -> void } -> void
1197
- | () -> Enumerator[Integer, bot]
1198
- | (Numeric limit, ?Integer step) -> Enumerator[Integer]
1199
- | (Numeric limit, ?Numeric step) -> Enumerator[Numeric]
1200
- | (to: Numeric, ?by: Integer) -> Enumerator[Integer]
1201
- | (by: Numeric, ?to: Numeric) -> Enumerator[Numeric]
1202
-
1203
- # <!--
1204
- # rdoc-file=numeric.c
1205
- # - succ -> next_integer
1206
- # -->
1207
- # Returns the successor integer of `self` (equivalent to `self + 1`):
1208
- #
1209
- # 1.succ #=> 2
1210
- # -1.succ #=> 0
1211
- #
1212
- # Related: Integer#pred (predecessor value).
1213
- #
1214
- def succ: () -> Integer
1215
-
1216
- # <!--
1217
- # rdoc-file=numeric.rb
1218
- # - times {|i| ... } -> self
1219
- # - times -> enumerator
1220
- # -->
1221
- # Calls the given block `self` times with each integer in `(0..self-1)`:
1222
- #
1223
- # a = []
1224
- # 5.times {|i| a.push(i) } # => 5
1225
- # a # => [0, 1, 2, 3, 4]
1226
- #
1227
- # With no block given, returns an Enumerator.
1228
- #
1229
- def times: () { (Integer) -> void } -> self
1230
- | () -> ::Enumerator[Integer, self]
1231
-
1232
- def to_c: () -> Complex
1233
-
1234
- # <!--
1235
- # rdoc-file=numeric.c
1236
- # - to_f -> float
1237
- # -->
1238
- # Converts `self` to a Float:
1239
- #
1240
- # 1.to_f # => 1.0
1241
- # -1.to_f # => -1.0
1242
- #
1243
- # If the value of `self` does not fit in a Float, the result is infinity:
1244
- #
1245
- # (10**400).to_f # => Infinity
1246
- # (-10**400).to_f # => -Infinity
1247
- #
1248
- def to_f: () -> Float
1249
-
1250
- # <!--
1251
- # rdoc-file=numeric.rb
1252
- # - to_i -> self
1253
- # -->
1254
- # Returns `self` (which is already an Integer).
1255
- #
1256
- def to_i: () -> Integer
1257
-
1258
- # <!--
1259
- # rdoc-file=numeric.rb
1260
- # - to_int -> self
1261
- # -->
1262
- # Returns `self` (which is already an Integer).
1263
- #
1264
- alias to_int to_i
1265
-
1266
- # <!--
1267
- # rdoc-file=rational.c
1268
- # - int.to_r -> rational
1269
- # -->
1270
- # Returns the value as a rational.
1271
- #
1272
- # 1.to_r #=> (1/1)
1273
- # (1<<64).to_r #=> (18446744073709551616/1)
1274
- #
1275
- def to_r: () -> Rational
1276
-
1277
- # <!--
1278
- # rdoc-file=numeric.c
1279
- # - to_s(base = 10) -> string
1280
- # -->
1281
- # Returns a string containing the place-value representation of `self` in radix
1282
- # `base` (in 2..36).
1283
- #
1284
- # 12345.to_s # => "12345"
1285
- # 12345.to_s(2) # => "11000000111001"
1286
- # 12345.to_s(8) # => "30071"
1287
- # 12345.to_s(10) # => "12345"
1288
- # 12345.to_s(16) # => "3039"
1289
- # 12345.to_s(36) # => "9ix"
1290
- # 78546939656932.to_s(36) # => "rubyrules"
1291
- #
1292
- # Raises an exception if `base` is out of range.
1293
- #
1294
- def to_s: () -> String
1295
- | (2) -> String
1296
- | (3) -> String
1297
- | (4) -> String
1298
- | (5) -> String
1299
- | (6) -> String
1300
- | (7) -> String
1301
- | (8) -> String
1302
- | (9) -> String
1303
- | (10) -> String
1304
- | (11) -> String
1305
- | (12) -> String
1306
- | (13) -> String
1307
- | (14) -> String
1308
- | (15) -> String
1309
- | (16) -> String
1310
- | (17) -> String
1311
- | (18) -> String
1312
- | (19) -> String
1313
- | (20) -> String
1314
- | (21) -> String
1315
- | (22) -> String
1316
- | (23) -> String
1317
- | (24) -> String
1318
- | (25) -> String
1319
- | (26) -> String
1320
- | (27) -> String
1321
- | (28) -> String
1322
- | (29) -> String
1323
- | (30) -> String
1324
- | (31) -> String
1325
- | (32) -> String
1326
- | (33) -> String
1327
- | (34) -> String
1328
- | (35) -> String
1329
- | (36) -> String
1330
- | (int base) -> String
1331
-
1332
- # <!--
1333
- # rdoc-file=numeric.c
1334
- # - truncate(ndigits = 0) -> integer
1335
- # -->
1336
- # Returns `self` truncated (toward zero) to a precision of `ndigits` decimal
1337
- # digits.
1338
- #
1339
- # When `ndigits` is negative, the returned value has at least `ndigits.abs`
1340
- # trailing zeros:
1341
- #
1342
- # 555.truncate(-1) # => 550
1343
- # 555.truncate(-2) # => 500
1344
- # -555.truncate(-2) # => -500
1345
- #
1346
- # Returns `self` when `ndigits` is zero or positive.
1347
- #
1348
- # 555.truncate # => 555
1349
- # 555.truncate(50) # => 555
1350
- #
1351
- # Related: Integer#round.
1352
- #
1353
- def truncate: () -> Integer
1354
- | (int ndigits) -> Integer
1355
-
1356
- # <!--
1357
- # rdoc-file=numeric.c
1358
- # - upto(limit) {|i| ... } -> self
1359
- # - upto(limit) -> enumerator
1360
- # -->
1361
- # Calls the given block with each integer value from `self` up to `limit`;
1362
- # returns `self`:
1363
- #
1364
- # a = []
1365
- # 5.upto(10) {|i| a << i } # => 5
1366
- # a # => [5, 6, 7, 8, 9, 10]
1367
- # a = []
1368
- # -5.upto(0) {|i| a << i } # => -5
1369
- # a # => [-5, -4, -3, -2, -1, 0]
1370
- # 5.upto(4) {|i| fail 'Cannot happen' } # => 5
1371
- #
1372
- # With no block given, returns an Enumerator.
1373
- #
1374
- def upto: (Numeric limit) { (Integer) -> void } -> Integer
1375
- | (Numeric limit) -> ::Enumerator[Integer, self]
1376
-
1377
- # <!--
1378
- # rdoc-file=numeric.rb
1379
- # - zero? -> true or false
1380
- # -->
1381
- # Returns `true` if `self` has a zero value, `false` otherwise.
1382
- #
1383
- def zero?: () -> bool
1384
-
1385
- # <!--
1386
- # rdoc-file=numeric.c
1387
- # - self | other -> integer
1388
- # -->
1389
- # Bitwise OR; each bit in the result is 1 if either corresponding bit in `self`
1390
- # or `other` is 1, 0 otherwise:
1391
- #
1392
- # "%04b" % (0b0101 | 0b0110) # => "0111"
1393
- #
1394
- # Raises an exception if `other` is not an Integer.
1395
- #
1396
- # Related: Integer#& (bitwise AND), Integer#^ (bitwise EXCLUSIVE OR).
1397
- #
1398
- def |: (Integer) -> Integer
1399
-
1400
- # <!--
1401
- # rdoc-file=numeric.rb
1402
- # - ~int -> integer
1403
- # -->
1404
- # One's complement: returns the value of `self` with each bit inverted.
1405
- #
1406
- # Because an integer value is conceptually of infinite length, the result acts
1407
- # as if it had an infinite number of one bits to the left. In hex
1408
- # representations, this is displayed as two periods to the left of the digits:
1409
- #
1410
- # sprintf("%X", ~0x1122334455) # => "..FEEDDCCBBAA"
1411
- #
1412
- def ~: () -> Integer
1413
- end