@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,1107 +0,0 @@
1
- # <!-- rdoc-file=range.c -->
2
- # A Range object represents a collection of values that are between given begin
3
- # and end values.
4
- #
5
- # You can create an Range object explicitly with:
6
- #
7
- # * A [range literal](rdoc-ref:syntax/literals.rdoc@Range+Literals):
8
- #
9
- # # Ranges that use '..' to include the given end value.
10
- # (1..4).to_a # => [1, 2, 3, 4]
11
- # ('a'..'d').to_a # => ["a", "b", "c", "d"]
12
- # # Ranges that use '...' to exclude the given end value.
13
- # (1...4).to_a # => [1, 2, 3]
14
- # ('a'...'d').to_a # => ["a", "b", "c"]
15
- #
16
- # * Method Range.new:
17
- #
18
- # # Ranges that by default include the given end value. Range.new(1, 4).to_a
19
- # # => [1, 2, 3, 4] Range.new('a', 'd').to_a # => ["a", "b", "c", "d"] #
20
- # Ranges that use third argument `exclude_end` to exclude the given end
21
- # value. Range.new(1, 4, true).to_a # => [1, 2, 3] Range.new('a', 'd',
22
- # true).to_a # => ["a", "b", "c"]
23
- #
24
- # ## Beginless Ranges
25
- #
26
- # A *beginless* *range* has a definite end value, but a `nil` begin value. Such
27
- # a range includes all values up to the end value.
28
- #
29
- # r = (..4) # => nil..4
30
- # r.begin # => nil
31
- # r.include?(-50) # => true
32
- # r.include?(4) # => true
33
- #
34
- # r = (...4) # => nil...4
35
- # r.include?(4) # => false
36
- #
37
- # Range.new(nil, 4) # => nil..4
38
- # Range.new(nil, 4, true) # => nil...4
39
- #
40
- # A beginless range may be used to slice an array:
41
- #
42
- # a = [1, 2, 3, 4]
43
- # # Include the third array element in the slice
44
- # r = (..2) # => nil..2
45
- # a[r] # => [1, 2, 3]
46
- # # Exclude the third array element from the slice
47
- # r = (...2) # => nil...2
48
- # a[r] # => [1, 2]
49
- #
50
- # Method `each` for a beginless range raises an exception.
51
- #
52
- # ## Endless Ranges
53
- #
54
- # An *endless* *range* has a definite begin value, but a `nil` end value. Such a
55
- # range includes all values from the begin value.
56
- #
57
- # r = (1..) # => 1..
58
- # r.end # => nil
59
- # r.include?(50) # => true
60
- #
61
- # Range.new(1, nil) # => 1..
62
- #
63
- # The literal for an endless range may be written with either two dots or three.
64
- # The range has the same elements, either way. But note that the two are not
65
- # equal:
66
- #
67
- # r0 = (1..) # => 1..
68
- # r1 = (1...) # => 1...
69
- # r0.begin == r1.begin # => true
70
- # r0.end == r1.end # => true
71
- # r0 == r1 # => false
72
- #
73
- # An endless range may be used to slice an array:
74
- #
75
- # a = [1, 2, 3, 4]
76
- # r = (2..) # => 2..
77
- # a[r] # => [3, 4]
78
- #
79
- # Method `each` for an endless range calls the given block indefinitely:
80
- #
81
- # a = []
82
- # r = (1..)
83
- # r.each do |i|
84
- # a.push(i) if i.even?
85
- # break if i > 10
86
- # end
87
- # a # => [2, 4, 6, 8, 10]
88
- #
89
- # A range can be both beginless and endless. For literal beginless, endless
90
- # ranges, at least the beginning or end of the range must be given as an
91
- # explicit nil value. It is recommended to use an explicit nil beginning and
92
- # implicit nil end, since that is what Ruby uses for Range#inspect:
93
- #
94
- # (nil..) # => (nil..)
95
- # (..nil) # => (nil..)
96
- # (nil..nil) # => (nil..)
97
- #
98
- # ## Ranges and Other Classes
99
- #
100
- # An object may be put into a range if its class implements instance method
101
- # `#<=>`. Ruby core classes that do so include Array, Complex, File::Stat,
102
- # Float, Integer, Kernel, Module, Numeric, Rational, String, Symbol, and Time.
103
- #
104
- # Example:
105
- #
106
- # t0 = Time.now # => 2021-09-19 09:22:48.4854986 -0500
107
- # t1 = Time.now # => 2021-09-19 09:22:56.0365079 -0500
108
- # t2 = Time.now # => 2021-09-19 09:23:08.5263283 -0500
109
- # (t0..t2).include?(t1) # => true
110
- # (t0..t1).include?(t2) # => false
111
- #
112
- # A range can be iterated over only if its elements implement instance method
113
- # `succ`. Ruby core classes that do so include Integer, String, and Symbol (but
114
- # not the other classes mentioned above).
115
- #
116
- # Iterator methods include:
117
- #
118
- # * In Range itself: #each, #step, and #%
119
- # * Included from module Enumerable: #each_entry, #each_with_index,
120
- # #each_with_object, #each_slice, #each_cons, and #reverse_each.
121
- #
122
- # Example:
123
- #
124
- # a = []
125
- # (1..4).each {|i| a.push(i) }
126
- # a # => [1, 2, 3, 4]
127
- #
128
- # ## Ranges and User-Defined Classes
129
- #
130
- # A user-defined class that is to be used in a range must implement instance
131
- # method `#<=>`; see Integer#<=>. To make iteration available, it must also
132
- # implement instance method `succ`; see Integer#succ.
133
- #
134
- # The class below implements both `#<=>` and `succ`, and so can be used both to
135
- # construct ranges and to iterate over them. Note that the Comparable module is
136
- # included so the `==` method is defined in terms of `#<=>`.
137
- #
138
- # # Represent a string of 'X' characters.
139
- # class Xs
140
- # include Comparable
141
- # attr_accessor :length
142
- # def initialize(n)
143
- # @length = n
144
- # end
145
- # def succ
146
- # Xs.new(@length + 1)
147
- # end
148
- # def <=>(other)
149
- # @length <=> other.length
150
- # end
151
- # def to_s
152
- # sprintf "%2d #{inspect}", @length
153
- # end
154
- # def inspect
155
- # 'X' * @length
156
- # end
157
- # end
158
- #
159
- # r = Xs.new(3)..Xs.new(6) #=> XXX..XXXXXX
160
- # r.to_a #=> [XXX, XXXX, XXXXX, XXXXXX]
161
- # r.include?(Xs.new(5)) #=> true
162
- # r.include?(Xs.new(7)) #=> false
163
- #
164
- # ## What's Here
165
- #
166
- # First, what's elsewhere. Class Range:
167
- #
168
- # * Inherits from [class Object](rdoc-ref:Object@What-27s+Here).
169
- # * Includes [module Enumerable](rdoc-ref:Enumerable@What-27s+Here), which
170
- # provides dozens of additional methods.
171
- #
172
- # Here, class Range provides methods that are useful for:
173
- #
174
- # * [Creating a Range](rdoc-ref:Range@Methods+for+Creating+a+Range)
175
- # * [Querying](rdoc-ref:Range@Methods+for+Querying)
176
- # * [Comparing](rdoc-ref:Range@Methods+for+Comparing)
177
- # * [Iterating](rdoc-ref:Range@Methods+for+Iterating)
178
- # * [Converting](rdoc-ref:Range@Methods+for+Converting)
179
- # * [Methods for Working with
180
- # JSON](rdoc-ref:Range@Methods+for+Working+with+JSON)
181
- #
182
- # ### Methods for Creating a Range
183
- #
184
- # * ::new: Returns a new range.
185
- #
186
- # ### Methods for Querying
187
- #
188
- # * #begin: Returns the begin value given for `self`.
189
- # * #bsearch: Returns an element from `self` selected by a binary search.
190
- # * #count: Returns a count of elements in `self`.
191
- # * #end: Returns the end value given for `self`.
192
- # * #exclude_end?: Returns whether the end object is excluded.
193
- # * #first: Returns the first elements of `self`.
194
- # * #hash: Returns the integer hash code.
195
- # * #last: Returns the last elements of `self`.
196
- # * #max: Returns the maximum values in `self`.
197
- # * #min: Returns the minimum values in `self`.
198
- # * #minmax: Returns the minimum and maximum values in `self`.
199
- # * #size: Returns the count of elements in `self`.
200
- #
201
- # ### Methods for Comparing
202
- #
203
- # * #==: Returns whether a given object is equal to `self` (uses #==).
204
- # * #===: Returns whether the given object is between the begin and end
205
- # values.
206
- # * #cover?: Returns whether a given object is within `self`.
207
- # * #eql?: Returns whether a given object is equal to `self` (uses #eql?).
208
- # * #include? (aliased as #member?): Returns whether a given object is an
209
- # element of `self`.
210
- #
211
- # ### Methods for Iterating
212
- #
213
- # * #%: Requires argument `n`; calls the block with each `n`-th element of
214
- # `self`.
215
- # * #each: Calls the block with each element of `self`.
216
- # * #step: Takes optional argument `n` (defaults to 1); calls the block with
217
- # each `n`-th element of `self`.
218
- #
219
- # ### Methods for Converting
220
- #
221
- # * #inspect: Returns a string representation of `self` (uses #inspect).
222
- # * #to_a (aliased as #entries): Returns elements of `self` in an array.
223
- # * #to_s: Returns a string representation of `self` (uses #to_s).
224
- #
225
- # ### Methods for Working with JSON
226
- #
227
- # * ::json_create: Returns a new Range object constructed from the given
228
- # object.
229
- # * #as_json: Returns a 2-element hash representing `self`.
230
- # * #to_json: Returns a JSON string representing `self`.
231
- #
232
- # To make these methods available:
233
- #
234
- # require 'json/add/range'
235
- #
236
- class Range[out Elem] < Object
237
- include Enumerable[Elem]
238
-
239
- # <!--
240
- # rdoc-file=range.c
241
- # - %(n) {|element| ... } -> self
242
- # - %(n) -> enumerator or arithmetic_sequence
243
- # -->
244
- # Same as #step (but doesn't provide default value for `n`). The method is
245
- # convenient for experssive producing of Enumerator::ArithmeticSequence.
246
- #
247
- # array = [0, 1, 2, 3, 4, 5, 6]
248
- #
249
- # # slice each second element:
250
- # seq = (0..) % 2 #=> ((0..).%(2))
251
- # array[seq] #=> [0, 2, 4, 6]
252
- # # or just
253
- # array[(0..) % 2] #=> [0, 2, 4, 6]
254
- #
255
- # Note that due to operator precedence in Ruby, parentheses are mandatory around
256
- # range in this case:
257
- #
258
- # (0..7) % 2 #=> ((0..7).%(2)) -- as expected
259
- # 0..7 % 2 #=> 0..1 -- parsed as 0..(7 % 2)
260
- #
261
- def %: (Numeric | int n) -> Enumerator[Elem, self]
262
- | (Numeric | int n) { (Elem element) -> void } -> self
263
-
264
- # <!--
265
- # rdoc-file=range.c
266
- # - self == other -> true or false
267
- # -->
268
- # Returns `true` if and only if:
269
- #
270
- # * `other` is a range.
271
- # * `other.begin == self.begin`.
272
- # * `other.end == self.end`.
273
- # * `other.exclude_end? == self.exclude_end?`.
274
- #
275
- # Otherwise returns `false`.
276
- #
277
- # r = (1..5)
278
- # r == (1..5) # => true
279
- # r = Range.new(1, 5)
280
- # r == 'foo' # => false
281
- # r == (2..5) # => false
282
- # r == (1..4) # => false
283
- # r == (1...5) # => false
284
- # r == Range.new(1, 5, true) # => false
285
- #
286
- # Note that even with the same argument, the return values of #== and #eql? can
287
- # differ:
288
- #
289
- # (1..2) == (1..2.0) # => true
290
- # (1..2).eql? (1..2.0) # => false
291
- #
292
- # Related: Range#eql?.
293
- #
294
- def ==: (untyped obj) -> bool
295
-
296
- # <!--
297
- # rdoc-file=range.c
298
- # - self === object -> true or false
299
- # -->
300
- # Returns `true` if `object` is between `self.begin` and `self.end`. `false`
301
- # otherwise:
302
- #
303
- # (1..4) === 2 # => true
304
- # (1..4) === 5 # => false
305
- # (1..4) === 'a' # => false
306
- # (1..4) === 4 # => true
307
- # (1...4) === 4 # => false
308
- # ('a'..'d') === 'c' # => true
309
- # ('a'..'d') === 'e' # => false
310
- #
311
- # A case statement uses method `===`, and so:
312
- #
313
- # case 79
314
- # when (1..50)
315
- # "low"
316
- # when (51..75)
317
- # "medium"
318
- # when (76..100)
319
- # "high"
320
- # end # => "high"
321
- #
322
- # case "2.6.5"
323
- # when ..."2.4"
324
- # "EOL"
325
- # when "2.4"..."2.5"
326
- # "maintenance"
327
- # when "2.5"..."3.0"
328
- # "stable"
329
- # when "3.1"..
330
- # "upcoming"
331
- # end # => "stable"
332
- #
333
- def ===: (untyped obj) -> bool
334
-
335
- # <!--
336
- # rdoc-file=range.c
337
- # - self.begin -> object
338
- # -->
339
- # Returns the object that defines the beginning of `self`.
340
- #
341
- # (1..4).begin # => 1
342
- # (..2).begin # => nil
343
- #
344
- # Related: Range#first, Range#end.
345
- #
346
- def begin: () -> Elem
347
-
348
- # <!--
349
- # rdoc-file=range.c
350
- # - bsearch {|obj| block } -> value
351
- # -->
352
- # Returns an element from `self` selected by a binary search.
353
- #
354
- # See [Binary Searching](rdoc-ref:bsearch.rdoc).
355
- #
356
- def bsearch: () -> ::Enumerator[Elem, Elem?]
357
- | () { (Elem) -> (true | false) } -> Elem?
358
- | () { (Elem) -> ::Integer } -> Elem?
359
-
360
- # <!--
361
- # rdoc-file=range.c
362
- # - cover?(object) -> true or false
363
- # - cover?(range) -> true or false
364
- # -->
365
- # Returns `true` if the given argument is within `self`, `false` otherwise.
366
- #
367
- # With non-range argument `object`, evaluates with `<=` and `<`.
368
- #
369
- # For range `self` with included end value (`#exclude_end? == false`), evaluates
370
- # thus:
371
- #
372
- # self.begin <= object <= self.end
373
- #
374
- # Examples:
375
- #
376
- # r = (1..4)
377
- # r.cover?(1) # => true
378
- # r.cover?(4) # => true
379
- # r.cover?(0) # => false
380
- # r.cover?(5) # => false
381
- # r.cover?('foo') # => false
382
- #
383
- # r = ('a'..'d')
384
- # r.cover?('a') # => true
385
- # r.cover?('d') # => true
386
- # r.cover?(' ') # => false
387
- # r.cover?('e') # => false
388
- # r.cover?(0) # => false
389
- #
390
- # For range `r` with excluded end value (`#exclude_end? == true`), evaluates
391
- # thus:
392
- #
393
- # r.begin <= object < r.end
394
- #
395
- # Examples:
396
- #
397
- # r = (1...4)
398
- # r.cover?(1) # => true
399
- # r.cover?(3) # => true
400
- # r.cover?(0) # => false
401
- # r.cover?(4) # => false
402
- # r.cover?('foo') # => false
403
- #
404
- # r = ('a'...'d')
405
- # r.cover?('a') # => true
406
- # r.cover?('c') # => true
407
- # r.cover?(' ') # => false
408
- # r.cover?('d') # => false
409
- # r.cover?(0) # => false
410
- #
411
- # With range argument `range`, compares the first and last elements of `self`
412
- # and `range`:
413
- #
414
- # r = (1..4)
415
- # r.cover?(1..4) # => true
416
- # r.cover?(0..4) # => false
417
- # r.cover?(1..5) # => false
418
- # r.cover?('a'..'d') # => false
419
- #
420
- # r = (1...4)
421
- # r.cover?(1..3) # => true
422
- # r.cover?(1..4) # => false
423
- #
424
- # If begin and end are numeric, #cover? behaves like #include?
425
- #
426
- # (1..3).cover?(1.5) # => true
427
- # (1..3).include?(1.5) # => true
428
- #
429
- # But when not numeric, the two methods may differ:
430
- #
431
- # ('a'..'d').cover?('cc') # => true
432
- # ('a'..'d').include?('cc') # => false
433
- #
434
- # Returns `false` if either:
435
- #
436
- # * The begin value of `self` is larger than its end value.
437
- # * An internal call to `#<=>` returns `nil`; that is, the operands are not
438
- # comparable.
439
- #
440
- # Beginless ranges cover all values of the same type before the end, excluding
441
- # the end for exclusive ranges. Beginless ranges cover ranges that end before
442
- # the end of the beginless range, or at the end of the beginless range for
443
- # inclusive ranges.
444
- #
445
- # (..2).cover?(1) # => true
446
- # (..2).cover?(2) # => true
447
- # (..2).cover?(3) # => false
448
- # (...2).cover?(2) # => false
449
- # (..2).cover?("2") # => false
450
- # (..2).cover?(..2) # => true
451
- # (..2).cover?(...2) # => true
452
- # (..2).cover?(.."2") # => false
453
- # (...2).cover?(..2) # => false
454
- #
455
- # Endless ranges cover all values of the same type after the beginning. Endless
456
- # exclusive ranges do not cover endless inclusive ranges.
457
- #
458
- # (2..).cover?(1) # => false
459
- # (2..).cover?(3) # => true
460
- # (2...).cover?(3) # => true
461
- # (2..).cover?(2) # => true
462
- # (2..).cover?("2") # => false
463
- # (2..).cover?(2..) # => true
464
- # (2..).cover?(2...) # => true
465
- # (2..).cover?("2"..) # => false
466
- # (2...).cover?(2..) # => false
467
- # (2...).cover?(3...) # => true
468
- # (2...).cover?(3..) # => false
469
- # (3..).cover?(2..) # => false
470
- #
471
- # Ranges that are both beginless and endless cover all values and ranges, and
472
- # return true for all arguments, with the exception that beginless and endless
473
- # exclusive ranges do not cover endless inclusive ranges.
474
- #
475
- # (nil...).cover?(Object.new) # => true
476
- # (nil...).cover?(nil...) # => true
477
- # (nil..).cover?(nil...) # => true
478
- # (nil...).cover?(nil..) # => false
479
- # (nil...).cover?(1..) # => false
480
- #
481
- # Related: Range#include?.
482
- #
483
- def cover?: (untyped obj) -> bool
484
-
485
- # <!--
486
- # rdoc-file=range.c
487
- # - each {|element| ... } -> self
488
- # - each -> an_enumerator
489
- # -->
490
- # With a block given, passes each element of `self` to the block:
491
- #
492
- # a = []
493
- # (1..4).each {|element| a.push(element) } # => 1..4
494
- # a # => [1, 2, 3, 4]
495
- #
496
- # Raises an exception unless `self.first.respond_to?(:succ)`.
497
- #
498
- # With no block given, returns an enumerator.
499
- #
500
- def each: () { (Elem arg0) -> untyped } -> self
501
- | () -> ::Enumerator[Elem, self]
502
-
503
- # <!--
504
- # rdoc-file=range.c
505
- # - self.end -> object
506
- # -->
507
- # Returns the object that defines the end of `self`.
508
- #
509
- # (1..4).end # => 4
510
- # (1...4).end # => 4
511
- # (1..).end # => nil
512
- #
513
- # Related: Range#begin, Range#last.
514
- #
515
- def end: () -> Elem
516
-
517
- # <!--
518
- # rdoc-file=range.c
519
- # - exclude_end? -> true or false
520
- # -->
521
- # Returns `true` if `self` excludes its end value; `false` otherwise:
522
- #
523
- # Range.new(2, 5).exclude_end? # => false
524
- # Range.new(2, 5, true).exclude_end? # => true
525
- # (2..5).exclude_end? # => false
526
- # (2...5).exclude_end? # => true
527
- #
528
- def exclude_end?: () -> bool
529
-
530
- # <!--
531
- # rdoc-file=range.c
532
- # - first -> object
533
- # - first(n) -> array
534
- # -->
535
- # With no argument, returns the first element of `self`, if it exists:
536
- #
537
- # (1..4).first # => 1
538
- # ('a'..'d').first # => "a"
539
- #
540
- # With non-negative integer argument `n` given, returns the first `n` elements
541
- # in an array:
542
- #
543
- # (1..10).first(3) # => [1, 2, 3]
544
- # (1..10).first(0) # => []
545
- # (1..4).first(50) # => [1, 2, 3, 4]
546
- #
547
- # Raises an exception if there is no first element:
548
- #
549
- # (..4).first # Raises RangeError
550
- #
551
- def first: () -> Elem
552
- | (Integer n) -> ::Array[Elem]
553
-
554
- # <!--
555
- # rdoc-file=range.c
556
- # - hash -> integer
557
- # -->
558
- # Returns the integer hash value for `self`. Two range objects `r0` and `r1`
559
- # have the same hash value if and only if `r0.eql?(r1)`.
560
- #
561
- # Related: Range#eql?, Object#hash.
562
- #
563
- def hash: () -> Integer
564
-
565
- # <!-- rdoc-file=range.c -->
566
- # Returns `true` if `object` is an element of `self`, `false` otherwise:
567
- #
568
- # (1..4).include?(2) # => true
569
- # (1..4).include?(5) # => false
570
- # (1..4).include?(4) # => true
571
- # (1...4).include?(4) # => false
572
- # ('a'..'d').include?('b') # => true
573
- # ('a'..'d').include?('e') # => false
574
- # ('a'..'d').include?('B') # => false
575
- # ('a'..'d').include?('d') # => true
576
- # ('a'...'d').include?('d') # => false
577
- #
578
- # If begin and end are numeric, #include? behaves like #cover?
579
- #
580
- # (1..3).include?(1.5) # => true
581
- # (1..3).cover?(1.5) # => true
582
- #
583
- # But when not numeric, the two methods may differ:
584
- #
585
- # ('a'..'d').include?('cc') # => false
586
- # ('a'..'d').cover?('cc') # => true
587
- #
588
- # Related: Range#cover?.
589
- #
590
- def include?: (untyped obj) -> bool
591
-
592
- # <!--
593
- # rdoc-file=range.c
594
- # - Range.new(begin, end, exclude_end = false) -> new_range
595
- # -->
596
- # Returns a new range based on the given objects `begin` and `end`. Optional
597
- # argument `exclude_end` determines whether object `end` is included as the last
598
- # object in the range:
599
- #
600
- # Range.new(2, 5).to_a # => [2, 3, 4, 5]
601
- # Range.new(2, 5, true).to_a # => [2, 3, 4]
602
- # Range.new('a', 'd').to_a # => ["a", "b", "c", "d"]
603
- # Range.new('a', 'd', true).to_a # => ["a", "b", "c"]
604
- #
605
- def initialize: (Elem from, Elem to, ?boolish exclude_end) -> void
606
-
607
- # <!--
608
- # rdoc-file=range.c
609
- # - inspect -> string
610
- # -->
611
- # Returns a string representation of `self`, including `begin.inspect` and
612
- # `end.inspect`:
613
- #
614
- # (1..4).inspect # => "1..4"
615
- # (1...4).inspect # => "1...4"
616
- # (1..).inspect # => "1.."
617
- # (..4).inspect # => "..4"
618
- #
619
- # Note that returns from #to_s and #inspect may differ:
620
- #
621
- # ('a'..'d').to_s # => "a..d"
622
- # ('a'..'d').inspect # => "\"a\"..\"d\""
623
- #
624
- # Related: Range#to_s.
625
- #
626
- def inspect: () -> String
627
-
628
- # <!--
629
- # rdoc-file=range.c
630
- # - last -> object
631
- # - last(n) -> array
632
- # -->
633
- # With no argument, returns the last element of `self`, if it exists:
634
- #
635
- # (1..4).last # => 4
636
- # ('a'..'d').last # => "d"
637
- #
638
- # Note that `last` with no argument returns the end element of `self` even if
639
- # #exclude_end? is `true`:
640
- #
641
- # (1...4).last # => 4
642
- # ('a'...'d').last # => "d"
643
- #
644
- # With non-negative integer argument `n` given, returns the last `n` elements in
645
- # an array:
646
- #
647
- # (1..10).last(3) # => [8, 9, 10]
648
- # (1..10).last(0) # => []
649
- # (1..4).last(50) # => [1, 2, 3, 4]
650
- #
651
- # Note that `last` with argument does not return the end element of `self` if
652
- # #exclude_end? it `true`:
653
- #
654
- # (1...4).last(3) # => [1, 2, 3]
655
- # ('a'...'d').last(3) # => ["a", "b", "c"]
656
- #
657
- # Raises an exception if there is no last element:
658
- #
659
- # (1..).last # Raises RangeError
660
- #
661
- def last: () -> Elem
662
- | (Integer n) -> ::Array[Elem]
663
-
664
- # <!--
665
- # rdoc-file=range.c
666
- # - max -> object
667
- # - max(n) -> array
668
- # - max {|a, b| ... } -> object
669
- # - max(n) {|a, b| ... } -> array
670
- # -->
671
- # Returns the maximum value in `self`, using method `#<=>` or a given block for
672
- # comparison.
673
- #
674
- # With no argument and no block given, returns the maximum-valued element of
675
- # `self`.
676
- #
677
- # (1..4).max # => 4
678
- # ('a'..'d').max # => "d"
679
- # (-4..-1).max # => -1
680
- #
681
- # With non-negative integer argument `n` given, and no block given, returns the
682
- # `n` maximum-valued elements of `self` in an array:
683
- #
684
- # (1..4).max(2) # => [4, 3]
685
- # ('a'..'d').max(2) # => ["d", "c"]
686
- # (-4..-1).max(2) # => [-1, -2]
687
- # (1..4).max(50) # => [4, 3, 2, 1]
688
- #
689
- # If a block is given, it is called:
690
- #
691
- # * First, with the first two element of `self`.
692
- # * Then, sequentially, with the so-far maximum value and the next element of
693
- # `self`.
694
- #
695
- # To illustrate:
696
- #
697
- # (1..4).max {|a, b| p [a, b]; a <=> b } # => 4
698
- #
699
- # Output:
700
- #
701
- # [2, 1]
702
- # [3, 2]
703
- # [4, 3]
704
- #
705
- # With no argument and a block given, returns the return value of the last call
706
- # to the block:
707
- #
708
- # (1..4).max {|a, b| -(a <=> b) } # => 1
709
- #
710
- # With non-negative integer argument `n` given, and a block given, returns the
711
- # return values of the last `n` calls to the block in an array:
712
- #
713
- # (1..4).max(2) {|a, b| -(a <=> b) } # => [1, 2]
714
- # (1..4).max(50) {|a, b| -(a <=> b) } # => [1, 2, 3, 4]
715
- #
716
- # Returns an empty array if `n` is zero:
717
- #
718
- # (1..4).max(0) # => []
719
- # (1..4).max(0) {|a, b| -(a <=> b) } # => []
720
- #
721
- # Returns `nil` or an empty array if:
722
- #
723
- # * The begin value of the range is larger than the end value:
724
- #
725
- # (4..1).max # => nil
726
- # (4..1).max(2) # => []
727
- # (4..1).max {|a, b| -(a <=> b) } # => nil
728
- # (4..1).max(2) {|a, b| -(a <=> b) } # => []
729
- #
730
- # * The begin value of an exclusive range is equal to the end value:
731
- #
732
- # (1...1).max # => nil
733
- # (1...1).max(2) # => []
734
- # (1...1).max {|a, b| -(a <=> b) } # => nil
735
- # (1...1).max(2) {|a, b| -(a <=> b) } # => []
736
- #
737
- # Raises an exception if either:
738
- #
739
- # * `self` is a endless range: `(1..)`.
740
- # * A block is given and `self` is a beginless range.
741
- #
742
- # Related: Range#min, Range#minmax.
743
- #
744
- def max: () -> Elem
745
- | () { (Elem a, Elem b) -> Integer } -> Elem
746
- | (Integer n) -> ::Array[Elem]
747
- | (Integer n) { (Elem a, Elem b) -> Integer } -> ::Array[Elem]
748
-
749
- # <!--
750
- # rdoc-file=range.c
751
- # - min -> object
752
- # - min(n) -> array
753
- # - min {|a, b| ... } -> object
754
- # - min(n) {|a, b| ... } -> array
755
- # -->
756
- # Returns the minimum value in `self`, using method `#<=>` or a given block for
757
- # comparison.
758
- #
759
- # With no argument and no block given, returns the minimum-valued element of
760
- # `self`.
761
- #
762
- # (1..4).min # => 1
763
- # ('a'..'d').min # => "a"
764
- # (-4..-1).min # => -4
765
- #
766
- # With non-negative integer argument `n` given, and no block given, returns the
767
- # `n` minimum-valued elements of `self` in an array:
768
- #
769
- # (1..4).min(2) # => [1, 2]
770
- # ('a'..'d').min(2) # => ["a", "b"]
771
- # (-4..-1).min(2) # => [-4, -3]
772
- # (1..4).min(50) # => [1, 2, 3, 4]
773
- #
774
- # If a block is given, it is called:
775
- #
776
- # * First, with the first two element of `self`.
777
- # * Then, sequentially, with the so-far minimum value and the next element of
778
- # `self`.
779
- #
780
- # To illustrate:
781
- #
782
- # (1..4).min {|a, b| p [a, b]; a <=> b } # => 1
783
- #
784
- # Output:
785
- #
786
- # [2, 1]
787
- # [3, 1]
788
- # [4, 1]
789
- #
790
- # With no argument and a block given, returns the return value of the last call
791
- # to the block:
792
- #
793
- # (1..4).min {|a, b| -(a <=> b) } # => 4
794
- #
795
- # With non-negative integer argument `n` given, and a block given, returns the
796
- # return values of the last `n` calls to the block in an array:
797
- #
798
- # (1..4).min(2) {|a, b| -(a <=> b) } # => [4, 3]
799
- # (1..4).min(50) {|a, b| -(a <=> b) } # => [4, 3, 2, 1]
800
- #
801
- # Returns an empty array if `n` is zero:
802
- #
803
- # (1..4).min(0) # => []
804
- # (1..4).min(0) {|a, b| -(a <=> b) } # => []
805
- #
806
- # Returns `nil` or an empty array if:
807
- #
808
- # * The begin value of the range is larger than the end value:
809
- #
810
- # (4..1).min # => nil
811
- # (4..1).min(2) # => []
812
- # (4..1).min {|a, b| -(a <=> b) } # => nil
813
- # (4..1).min(2) {|a, b| -(a <=> b) } # => []
814
- #
815
- # * The begin value of an exclusive range is equal to the end value:
816
- #
817
- # (1...1).min # => nil
818
- # (1...1).min(2) # => []
819
- # (1...1).min {|a, b| -(a <=> b) } # => nil
820
- # (1...1).min(2) {|a, b| -(a <=> b) } # => []
821
- #
822
- # Raises an exception if either:
823
- #
824
- # * `self` is a beginless range: `(..4)`.
825
- # * A block is given and `self` is an endless range.
826
- #
827
- # Related: Range#max, Range#minmax.
828
- #
829
- def min: () -> Elem
830
- | () { (Elem a, Elem b) -> Integer } -> Elem
831
- | (Integer n) -> ::Array[Elem]
832
- | (Integer n) { (Elem a, Elem b) -> Integer } -> ::Array[Elem]
833
-
834
- # <!--
835
- # rdoc-file=range.c
836
- # - overlap?(range) -> true or false
837
- # -->
838
- # Returns `true` if `range` overlaps with `self`, `false` otherwise:
839
- #
840
- # (0..2).overlap?(1..3) #=> true
841
- # (0..2).overlap?(3..4) #=> false
842
- # (0..).overlap?(..0) #=> true
843
- #
844
- # With non-range argument, raises TypeError.
845
- #
846
- # (1..3).overlap?(1) # TypeError
847
- #
848
- # Returns `false` if an internal call to `#<=>` returns `nil`; that is, the
849
- # operands are not comparable.
850
- #
851
- # (1..3).overlap?('a'..'d') # => false
852
- #
853
- # Returns `false` if `self` or `range` is empty. "Empty range" means that its
854
- # begin value is larger than, or equal for an exclusive range, its end value.
855
- #
856
- # (4..1).overlap?(2..3) # => false
857
- # (4..1).overlap?(..3) # => false
858
- # (4..1).overlap?(2..) # => false
859
- # (2...2).overlap?(1..2) # => false
860
- #
861
- # (1..4).overlap?(3..2) # => false
862
- # (..4).overlap?(3..2) # => false
863
- # (1..).overlap?(3..2) # => false
864
- # (1..2).overlap?(2...2) # => false
865
- #
866
- # Returns `false` if the begin value one of `self` and `range` is larger than,
867
- # or equal if the other is an exclusive range, the end value of the other:
868
- #
869
- # (4..5).overlap?(2..3) # => false
870
- # (4..5).overlap?(2...4) # => false
871
- #
872
- # (1..2).overlap?(3..4) # => false
873
- # (1...3).overlap?(3..4) # => false
874
- #
875
- # Returns `false` if the end value one of `self` and `range` is larger than, or
876
- # equal for an exclusive range, the end value of the other:
877
- #
878
- # (4..5).overlap?(2..3) # => false
879
- # (4..5).overlap?(2...4) # => false
880
- #
881
- # (1..2).overlap?(3..4) # => false
882
- # (1...3).overlap?(3..4) # => false
883
- #
884
- # Note that the method wouldn't make any assumptions about the beginless range
885
- # being actually empty, even if its upper bound is the minimum possible value of
886
- # its type, so all this would return `true`:
887
- #
888
- # (...-Float::INFINITY).overlap?(...-Float::INFINITY) # => true
889
- # (..."").overlap?(..."") # => true
890
- # (...[]).overlap?(...[]) # => true
891
- #
892
- # Even if those ranges are effectively empty (no number can be smaller than
893
- # `-Float::INFINITY`), they are still considered overlapping with themselves.
894
- #
895
- # Related: Range#cover?.
896
- #
897
- def overlap?: (Range[untyped]) -> bool
898
-
899
- # <!--
900
- # rdoc-file=range.c
901
- # - reverse_each {|element| ... } -> self
902
- # - reverse_each -> an_enumerator
903
- # -->
904
- # With a block given, passes each element of `self` to the block in reverse
905
- # order:
906
- #
907
- # a = []
908
- # (1..4).reverse_each {|element| a.push(element) } # => 1..4
909
- # a # => [4, 3, 2, 1]
910
- #
911
- # a = []
912
- # (1...4).reverse_each {|element| a.push(element) } # => 1...4
913
- # a # => [3, 2, 1]
914
- #
915
- # With no block given, returns an enumerator.
916
- #
917
- def reverse_each: () { (Elem) -> void } -> self
918
- | () -> ::Enumerator[Elem, self]
919
-
920
- # <!--
921
- # rdoc-file=range.c
922
- # - size -> non_negative_integer or Infinity or nil
923
- # -->
924
- # Returns the count of elements in `self` if both begin and end values are
925
- # numeric; otherwise, returns `nil`:
926
- #
927
- # (1..4).size # => 4
928
- # (1...4).size # => 3
929
- # (1..).size # => Infinity
930
- # ('a'..'z').size # => nil
931
- #
932
- # If `self` is not iterable, raises an exception:
933
- #
934
- # (0.5..2.5).size # TypeError
935
- # (..1).size # TypeError
936
- #
937
- # Related: Range#count.
938
- #
939
- def size: () -> Integer?
940
- | () -> Float?
941
-
942
- # <!--
943
- # rdoc-file=range.c
944
- # - step(s = 1) {|element| ... } -> self
945
- # - step(s = 1) -> enumerator/arithmetic_sequence
946
- # -->
947
- # Iterates over the elements of range in steps of `s`. The iteration is
948
- # performed by `+` operator:
949
- #
950
- # (0..6).step(2) { puts _1 } #=> 1..5
951
- # # Prints: 0, 2, 4, 6
952
- #
953
- # # Iterate between two dates in step of 1 day (24 hours)
954
- # (Time.utc(2022, 2, 24)..Time.utc(2022, 3, 1)).step(24*60*60) { puts _1 }
955
- # # Prints:
956
- # # 2022-02-24 00:00:00 UTC
957
- # # 2022-02-25 00:00:00 UTC
958
- # # 2022-02-26 00:00:00 UTC
959
- # # 2022-02-27 00:00:00 UTC
960
- # # 2022-02-28 00:00:00 UTC
961
- # # 2022-03-01 00:00:00 UTC
962
- #
963
- # If ` + step` decreases the value, iteration is still performed when step
964
- # `begin` is higher than the `end`:
965
- #
966
- # (0..6).step(-2) { puts _1 }
967
- # # Prints nothing
968
- #
969
- # (6..0).step(-2) { puts _1 }
970
- # # Prints: 6, 4, 2, 0
971
- #
972
- # (Time.utc(2022, 3, 1)..Time.utc(2022, 2, 24)).step(-24*60*60) { puts _1 }
973
- # # Prints:
974
- # # 2022-03-01 00:00:00 UTC
975
- # # 2022-02-28 00:00:00 UTC
976
- # # 2022-02-27 00:00:00 UTC
977
- # # 2022-02-26 00:00:00 UTC
978
- # # 2022-02-25 00:00:00 UTC
979
- # # 2022-02-24 00:00:00 UTC
980
- #
981
- # When the block is not provided, and range boundaries and step are Numeric, the
982
- # method returns Enumerator::ArithmeticSequence.
983
- #
984
- # (1..5).step(2) # => ((1..5).step(2))
985
- # (1.0..).step(1.5) #=> ((1.0..).step(1.5))
986
- # (..3r).step(1/3r) #=> ((..3/1).step((1/3)))
987
- #
988
- # Enumerator::ArithmeticSequence can be further used as a value object for
989
- # iteration or slicing of collections (see Array#[]). There is a convenience
990
- # method #% with behavior similar to `step` to produce arithmetic sequences more
991
- # expressively:
992
- #
993
- # # Same as (1..5).step(2)
994
- # (1..5) % 2 # => ((1..5).%(2))
995
- #
996
- # In a generic case, when the block is not provided, Enumerator is returned:
997
- #
998
- # ('a'..).step('b') #=> #<Enumerator: "a"..:step("b")>
999
- # ('a'..).step('b').take(3) #=> ["a", "ab", "abb"]
1000
- #
1001
- # If `s` is not provided, it is considered `1` for ranges with numeric `begin`:
1002
- #
1003
- # (1..5).step { p _1 }
1004
- # # Prints: 1, 2, 3, 4, 5
1005
- #
1006
- # For non-Numeric ranges, step absence is an error:
1007
- #
1008
- # (Time.utc(2022, 3, 1)..Time.utc(2022, 2, 24)).step { p _1 }
1009
- # # raises: step is required for non-numeric ranges (ArgumentError)
1010
- #
1011
- # For backward compatibility reasons, String ranges support the iteration both
1012
- # with string step and with integer step. In the latter case, the iteration is
1013
- # performed by calculating the next values with String#succ:
1014
- #
1015
- # ('a'..'e').step(2) { p _1 }
1016
- # # Prints: a, c, e
1017
- # ('a'..'e').step { p _1 }
1018
- # # Default step 1; prints: a, b, c, d, e
1019
- #
1020
- def step: (?Numeric | int) -> Enumerator[Elem, self]
1021
- | (?Numeric | int) { (Elem element) -> void } -> self
1022
- | (untyped) -> Enumerator[Elem, self]
1023
- | (untyped) { (Elem element) -> void } -> self
1024
-
1025
- # <!--
1026
- # rdoc-file=range.c
1027
- # - to_s -> string
1028
- # -->
1029
- # Returns a string representation of `self`, including `begin.to_s` and
1030
- # `end.to_s`:
1031
- #
1032
- # (1..4).to_s # => "1..4"
1033
- # (1...4).to_s # => "1...4"
1034
- # (1..).to_s # => "1.."
1035
- # (..4).to_s # => "..4"
1036
- #
1037
- # Note that returns from #to_s and #inspect may differ:
1038
- #
1039
- # ('a'..'d').to_s # => "a..d"
1040
- # ('a'..'d').inspect # => "\"a\"..\"d\""
1041
- #
1042
- # Related: Range#inspect.
1043
- #
1044
- def to_s: () -> String
1045
-
1046
- # <!--
1047
- # rdoc-file=range.c
1048
- # - eql?(other) -> true or false
1049
- # -->
1050
- # Returns `true` if and only if:
1051
- #
1052
- # * `other` is a range.
1053
- # * `other.begin.eql?(self.begin)`.
1054
- # * `other.end.eql?(self.end)`.
1055
- # * `other.exclude_end? == self.exclude_end?`.
1056
- #
1057
- # Otherwise returns `false`.
1058
- #
1059
- # r = (1..5)
1060
- # r.eql?(1..5) # => true
1061
- # r = Range.new(1, 5)
1062
- # r.eql?('foo') # => false
1063
- # r.eql?(2..5) # => false
1064
- # r.eql?(1..4) # => false
1065
- # r.eql?(1...5) # => false
1066
- # r.eql?(Range.new(1, 5, true)) # => false
1067
- #
1068
- # Note that even with the same argument, the return values of #== and #eql? can
1069
- # differ:
1070
- #
1071
- # (1..2) == (1..2.0) # => true
1072
- # (1..2).eql? (1..2.0) # => false
1073
- #
1074
- # Related: Range#==.
1075
- #
1076
- def eql?: (untyped obj) -> bool
1077
-
1078
- # <!--
1079
- # rdoc-file=range.c
1080
- # - include?(object) -> true or false
1081
- # -->
1082
- # Returns `true` if `object` is an element of `self`, `false` otherwise:
1083
- #
1084
- # (1..4).include?(2) # => true
1085
- # (1..4).include?(5) # => false
1086
- # (1..4).include?(4) # => true
1087
- # (1...4).include?(4) # => false
1088
- # ('a'..'d').include?('b') # => true
1089
- # ('a'..'d').include?('e') # => false
1090
- # ('a'..'d').include?('B') # => false
1091
- # ('a'..'d').include?('d') # => true
1092
- # ('a'...'d').include?('d') # => false
1093
- #
1094
- # If begin and end are numeric, #include? behaves like #cover?
1095
- #
1096
- # (1..3).include?(1.5) # => true
1097
- # (1..3).cover?(1.5) # => true
1098
- #
1099
- # But when not numeric, the two methods may differ:
1100
- #
1101
- # ('a'..'d').include?('cc') # => false
1102
- # ('a'..'d').cover?('cc') # => true
1103
- #
1104
- # Related: Range#cover?.
1105
- #
1106
- def member?: (untyped obj) -> bool
1107
- end