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

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 (725) hide show
  1. package/PRESTAGE.md +53 -16
  2. package/README.md +156 -0
  3. package/THIRD-PARTY-NOTICES.md +727 -0
  4. package/bin/bundle +1 -1
  5. package/bin/bundler +1 -1
  6. package/bin/erb +1 -1
  7. package/bin/gem +1 -1
  8. package/bin/irb +1 -1
  9. package/bin/rake +1 -1
  10. package/bin/{ruby.wasm → ruby} +0 -0
  11. package/lib/ruby/3.4.0/io/console/size.rb +23 -0
  12. package/lib/ruby/3.4.0/socket.rb +1790 -0
  13. package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +38 -34
  14. package/lib/ruby/gems/3.4.0/cache/abbrev-0.1.2.gem +0 -0
  15. package/lib/ruby/gems/3.4.0/cache/base64-0.2.0.gem +0 -0
  16. package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
  17. package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
  18. package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
  19. package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
  20. package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
  21. package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
  22. package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
  23. package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
  24. package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
  25. package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
  26. package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
  27. package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
  28. package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
  29. package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
  30. package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
  31. package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
  32. package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
  33. package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
  34. package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
  35. package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
  36. package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
  37. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
  38. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
  39. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
  40. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
  41. package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
  42. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
  43. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
  44. package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
  45. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
  46. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
  47. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
  48. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
  49. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
  50. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
  51. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
  52. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
  53. package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
  54. package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
  55. package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
  56. package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
  57. package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
  58. package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
  59. package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
  60. package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
  61. package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
  62. package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
  63. package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
  64. package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
  65. package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
  66. package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
  67. package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
  68. package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
  69. package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
  70. package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
  71. package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
  72. package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
  73. package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
  74. package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
  75. package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
  76. package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
  77. package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
  78. package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
  79. package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
  80. package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
  81. package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
  82. package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
  83. package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
  84. package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
  85. package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
  86. package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
  87. package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
  88. package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
  89. package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
  90. package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
  91. package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
  92. package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
  93. package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
  94. package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
  95. package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
  96. package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
  97. package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
  98. package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
  99. package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
  100. package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
  101. package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
  102. package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
  103. package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
  104. package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
  105. package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
  106. package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
  107. package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
  108. package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
  109. package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
  110. package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
  111. package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
  112. package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
  113. package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
  114. package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
  115. package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
  116. package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
  117. package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
  118. package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
  119. package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
  120. package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
  121. package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
  122. package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
  123. package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
  124. package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
  125. package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
  126. package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
  127. package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
  128. package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
  129. package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
  130. package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
  131. package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
  132. package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
  133. package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
  134. package/package.json +60 -21
  135. package/lib/ruby/3.4.0/expect.rb +0 -71
  136. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
  137. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
  138. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
  139. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
  140. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
  141. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +0 -90
  142. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +0 -89
  143. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +0 -232
  144. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +0 -80
  145. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +0 -185
  146. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +0 -5
  147. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +0 -74
  148. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +0 -40
  149. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +0 -21
  150. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
  151. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +0 -573
  152. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +0 -10
  153. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +0 -22
  154. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +0 -996
  155. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +0 -57
  156. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +0 -23
  157. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
  158. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
  159. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +0 -53
  160. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +0 -77
  161. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +0 -556
  162. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +0 -263
  163. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +0 -123
  164. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +0 -592
  165. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +0 -224
  166. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +0 -336
  167. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +0 -190
  168. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +0 -37
  169. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +0 -115
  170. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +0 -13
  171. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +0 -15
  172. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +0 -50
  173. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +0 -534
  174. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +0 -1348
  175. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +0 -1108
  176. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +0 -2667
  177. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +0 -150
  178. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +0 -5
  179. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +0 -1457
  180. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +0 -241
  181. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +0 -5
  182. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +0 -9
  183. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +0 -660
  184. package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
  185. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
  186. package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
  187. package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
  188. package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
  189. package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
  190. package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
  191. package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
  192. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
  193. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +0 -5
  194. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +0 -22
  195. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +0 -38
  196. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +0 -24
  197. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -14
  198. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/setup +0 -8
  199. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +0 -283
  200. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +0 -6
  201. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
  202. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
  203. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
  204. package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
  205. package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
  206. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
  207. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +0 -22
  208. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +0 -56
  209. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
  210. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
  211. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
  212. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +0 -5
  213. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
  214. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
  215. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
  216. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
  217. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
  218. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
  219. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
  220. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
  221. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
  222. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
  223. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
  224. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
  225. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
  226. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
  227. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
  228. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
  229. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
  230. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
  231. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
  232. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
  233. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
  234. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
  235. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
  236. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
  237. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
  238. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
  239. package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
  240. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
  241. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
  242. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +0 -22
  243. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +0 -1854
  244. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +0 -56
  245. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +0 -203
  246. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +0 -415
  247. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +0 -44
  248. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +0 -311
  249. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +0 -4062
  250. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +0 -375
  251. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +0 -150
  252. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +0 -277
  253. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +0 -220
  254. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +0 -171
  255. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +0 -786
  256. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +0 -96
  257. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +0 -415
  258. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +0 -981
  259. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +0 -1371
  260. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +0 -2405
  261. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +0 -92
  262. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +0 -630
  263. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +0 -6
  264. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +0 -673
  265. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +0 -760
  266. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +0 -376
  267. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +0 -82
  268. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +0 -550
  269. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +0 -11
  270. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +0 -2936
  271. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +0 -331
  272. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +0 -1151
  273. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +0 -644
  274. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +0 -184
  275. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +0 -1861
  276. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +0 -1413
  277. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +0 -984
  278. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +0 -70
  279. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +0 -3402
  280. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +0 -3054
  281. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +0 -207
  282. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +0 -635
  283. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +0 -729
  284. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +0 -386
  285. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +0 -1704
  286. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +0 -209
  287. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +0 -818
  288. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +0 -110
  289. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +0 -166
  290. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +0 -190
  291. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +0 -868
  292. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +0 -2296
  293. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +0 -1065
  294. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +0 -237
  295. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +0 -1107
  296. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +0 -531
  297. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +0 -88
  298. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +0 -1229
  299. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +0 -1209
  300. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +0 -293
  301. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +0 -59
  302. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +0 -1928
  303. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +0 -765
  304. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +0 -6
  305. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +0 -38
  306. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +0 -6
  307. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +0 -176
  308. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +0 -15
  309. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +0 -6
  310. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +0 -7
  311. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +0 -49
  312. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +0 -148
  313. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +0 -1171
  314. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +0 -15
  315. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +0 -23
  316. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +0 -5
  317. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +0 -10
  318. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +0 -294
  319. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +0 -621
  320. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +0 -100
  321. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +0 -3583
  322. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +0 -667
  323. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +0 -475
  324. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +0 -1765
  325. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +0 -79
  326. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +0 -1762
  327. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +0 -477
  328. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +0 -98
  329. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +0 -329
  330. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +0 -87
  331. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +0 -106
  332. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +0 -110
  333. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +0 -192
  334. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +0 -86
  335. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +0 -57
  336. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +0 -309
  337. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +0 -125
  338. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +0 -167
  339. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +0 -147
  340. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +0 -905
  341. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +0 -17
  342. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +0 -7
  343. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +0 -91
  344. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +0 -82
  345. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +0 -72
  346. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +0 -7
  347. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +0 -92
  348. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +0 -199
  349. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +0 -92
  350. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +0 -400
  351. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +0 -131
  352. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +0 -8
  353. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +0 -29
  354. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +0 -29
  355. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +0 -467
  356. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +0 -39
  357. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +0 -449
  358. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +0 -225
  359. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +0 -137
  360. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +0 -67
  361. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +0 -58
  362. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +0 -48
  363. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +0 -83
  364. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +0 -356
  365. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +0 -1223
  366. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +0 -38
  367. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +0 -92
  368. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +0 -223
  369. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +0 -81
  370. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +0 -32
  371. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +0 -14
  372. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +0 -258
  373. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +0 -81
  374. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +0 -48
  375. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +0 -50
  376. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +0 -38
  377. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +0 -16
  378. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +0 -28
  379. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +0 -395
  380. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +0 -620
  381. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +0 -254
  382. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +0 -841
  383. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +0 -125
  384. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +0 -77
  385. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +0 -818
  386. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +0 -173
  387. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +0 -155
  388. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +0 -600
  389. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +0 -18
  390. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +0 -28
  391. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +0 -138
  392. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +0 -241
  393. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +0 -141
  394. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +0 -125
  395. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +0 -15
  396. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +0 -23
  397. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +0 -77
  398. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +0 -140
  399. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +0 -99
  400. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +0 -840
  401. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +0 -641
  402. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +0 -59
  403. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +0 -19
  404. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +0 -279
  405. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +0 -667
  406. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +0 -127
  407. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +0 -219
  408. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +0 -91
  409. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +0 -198
  410. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +0 -83
  411. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +0 -201
  412. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +0 -80
  413. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +0 -30
  414. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +0 -212
  415. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +0 -19
  416. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +0 -84
  417. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +0 -50
  418. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +0 -167
  419. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +0 -433
  420. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +0 -112
  421. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +0 -100
  422. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +0 -126
  423. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +0 -109
  424. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +0 -1557
  425. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +0 -176
  426. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +0 -136
  427. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +0 -341
  428. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +0 -143
  429. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +0 -6
  430. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +0 -182
  431. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +0 -189
  432. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +0 -71
  433. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +0 -5
  434. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +0 -419
  435. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +0 -93
  436. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +0 -20
  437. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +0 -163
  438. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
  439. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
  440. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +0 -14
  441. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +0 -26
  442. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +0 -326
  443. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +0 -87
  444. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +0 -56
  445. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +0 -266
  446. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +0 -50
  447. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +0 -36
  448. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +0 -317
  449. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +0 -163
  450. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +0 -60
  451. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +0 -102
  452. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +0 -24
  453. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +0 -82
  454. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +0 -30
  455. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +0 -27
  456. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +0 -32
  457. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +0 -44
  458. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +0 -15
  459. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +0 -21
  460. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +0 -43
  461. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +0 -87
  462. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +0 -13
  463. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +0 -74
  464. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +0 -66
  465. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +0 -46
  466. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +0 -17
  467. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +0 -214
  468. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +0 -4
  469. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +0 -26
  470. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +0 -21
  471. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +0 -267
  472. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +0 -173
  473. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +0 -165
  474. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +0 -28
  475. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +0 -61
  476. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +0 -277
  477. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +0 -111
  478. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +0 -65
  479. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +0 -383
  480. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +0 -5
  481. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +0 -28
  482. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +0 -110
  483. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +0 -58
  484. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +0 -7
  485. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +0 -258
  486. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +0 -84
  487. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +0 -58
  488. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +0 -146
  489. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +0 -96
  490. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +0 -27
  491. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +0 -20
  492. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +0 -96
  493. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +0 -75
  494. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +0 -182
  495. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +0 -21
  496. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +0 -67
  497. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +0 -85
  498. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +0 -92
  499. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +0 -34
  500. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +0 -35
  501. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +0 -38
  502. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +0 -5
  503. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +0 -19
  504. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +0 -41
  505. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +0 -48
  506. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +0 -37
  507. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +0 -52
  508. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +0 -9
  509. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +0 -19
  510. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +0 -82
  511. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +0 -53
  512. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +0 -98
  513. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +0 -110
  514. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +0 -79
  515. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +0 -576
  516. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +0 -154
  517. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +0 -28
  518. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +0 -194
  519. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +0 -136
  520. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +0 -35
  521. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +0 -9
  522. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +0 -59
  523. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +0 -87
  524. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +0 -51
  525. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +0 -3
  526. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +0 -47
  527. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +0 -127
  528. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +0 -153
  529. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +0 -793
  530. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +0 -66
  531. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +0 -26
  532. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +0 -355
  533. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +0 -452
  534. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +0 -1629
  535. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +0 -119
  536. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +0 -2
  537. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +0 -1285
  538. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +0 -3
  539. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +0 -263
  540. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +0 -3776
  541. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +0 -3
  542. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +0 -1585
  543. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +0 -616
  544. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +0 -26
  545. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +0 -421
  546. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +0 -184
  547. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +0 -47
  548. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +0 -96
  549. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +0 -343
  550. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +0 -577
  551. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +0 -532
  552. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +0 -865
  553. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +0 -1734
  554. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +0 -49
  555. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +0 -268
  556. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +0 -414
  557. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +0 -428
  558. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +0 -1914
  559. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +0 -166
  560. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +0 -45
  561. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +0 -100
  562. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +0 -796
  563. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +0 -2
  564. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +0 -17
  565. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +0 -34
  566. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +0 -42
  567. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +0 -52
  568. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +0 -17
  569. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +0 -590
  570. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +0 -23
  571. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +0 -102
  572. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +0 -259
  573. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +0 -25
  574. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +0 -13
  575. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +0 -3
  576. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +0 -2
  577. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +0 -21
  578. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +0 -64
  579. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +0 -64
  580. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +0 -46
  581. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +0 -5
  582. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +0 -3
  583. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +0 -2
  584. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +0 -62
  585. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +0 -19
  586. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +0 -11
  587. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +0 -53
  588. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +0 -5
  589. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +0 -28
  590. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +0 -163
  591. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +0 -6
  592. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +0 -48
  593. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +0 -129
  594. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +0 -11
  595. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +0 -81
  596. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +0 -18
  597. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +0 -92
  598. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +0 -69
  599. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +0 -12
  600. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +0 -6
  601. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +0 -3
  602. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +0 -4
  603. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +0 -115
  604. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +0 -354
  605. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +0 -104
  606. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +0 -3
  607. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +0 -5552
  608. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +0 -2
  609. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +0 -56
  610. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +0 -2
  611. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +0 -55
  612. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +0 -402
  613. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +0 -487
  614. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +0 -217
  615. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +0 -4
  616. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +0 -393
  617. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +0 -147
  618. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +0 -3
  619. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +0 -12113
  620. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +0 -1725
  621. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +0 -1406
  622. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +0 -2
  623. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +0 -300
  624. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +0 -383
  625. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +0 -603
  626. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +0 -12
  627. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +0 -237
  628. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +0 -3
  629. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +0 -402
  630. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +0 -59
  631. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +0 -237
  632. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +0 -51
  633. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +0 -59
  634. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +0 -153
  635. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +0 -117
  636. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +0 -56
  637. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +0 -391
  638. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +0 -17
  639. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +0 -48
  640. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +0 -97
  641. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +0 -3
  642. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +0 -1830
  643. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +0 -1648
  644. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +0 -62
  645. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +0 -229
  646. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +0 -131
  647. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +0 -666
  648. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +0 -590
  649. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +0 -2295
  650. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +0 -92
  651. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +0 -4157
  652. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +0 -5
  653. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +0 -192
  654. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +0 -79
  655. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +0 -133
  656. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +0 -169
  657. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +0 -170
  658. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +0 -567
  659. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +0 -1627
  660. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +0 -479
  661. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +0 -432
  662. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +0 -81
  663. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +0 -69
  664. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +0 -5
  665. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +0 -20
  666. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +0 -409
  667. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +0 -582
  668. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +0 -118
  669. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +0 -13
  670. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +0 -1108
  671. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +0 -104
  672. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +0 -14
  673. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +0 -230
  674. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +0 -14
  675. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +0 -92
  676. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +0 -189
  677. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +0 -2
  678. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +0 -13
  679. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +0 -9
  680. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +0 -2
  681. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +0 -1
  682. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +0 -10
  683. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +0 -10
  684. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +0 -210
  685. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +0 -20
  686. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +0 -12
  687. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +0 -23
  688. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +0 -12
  689. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +0 -11
  690. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +0 -156
  691. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +0 -293
  692. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +0 -166
  693. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +0 -180
  694. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +0 -10
  695. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +0 -13
  696. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +0 -11
  697. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +0 -11
  698. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +0 -11
  699. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +0 -449
  700. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +0 -200
  701. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +0 -20
  702. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +0 -10
  703. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +0 -36
  704. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +0 -27
  705. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +0 -122
  706. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
  707. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
  708. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
  709. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +0 -5
  710. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +0 -22
  711. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +0 -41
  712. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +0 -20
  713. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -14
  714. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -8
  715. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +0 -209
  716. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +0 -10
  717. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
  718. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
  719. package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
  720. package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +0 -50
  721. package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +0 -33
  722. package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +0 -43
  723. package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +0 -26
  724. package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +0 -49
  725. package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +0 -26
@@ -1,1229 +0,0 @@
1
- module RBS
2
- module Unnamed
3
- # <!-- rdoc-file=io.c -->
4
- # ## ARGF and `ARGV`
5
- #
6
- # The ARGF object works with the array at global variable `ARGV` to make
7
- # `$stdin` and file streams available in the Ruby program:
8
- #
9
- # * **ARGV** may be thought of as the **argument vector** array.
10
- #
11
- # Initially, it contains the command-line arguments and options that are
12
- # passed to the Ruby program; the program can modify that array as it likes.
13
- #
14
- # * **ARGF** may be thought of as the **argument files** object.
15
- #
16
- # It can access file streams and/or the `$stdin` stream, based on what it
17
- # finds in `ARGV`. This provides a convenient way for the command line to
18
- # specify streams for a Ruby program to read.
19
- #
20
- # ## Reading
21
- #
22
- # ARGF may read from *source* streams, which at any particular time are
23
- # determined by the content of `ARGV`.
24
- #
25
- # ### Simplest Case
26
- #
27
- # When the *very first* ARGF read occurs with an empty `ARGV` (`[]`), the source
28
- # is `$stdin`:
29
- #
30
- # * File `t.rb`:
31
- #
32
- # p ['ARGV', ARGV]
33
- # p ['ARGF.read', ARGF.read]
34
- #
35
- # * Commands and outputs (see below for the content of files `foo.txt` and
36
- # `bar.txt`):
37
- #
38
- # $ echo "Open the pod bay doors, Hal." | ruby t.rb
39
- # ["ARGV", []]
40
- # ["ARGF.read", "Open the pod bay doors, Hal.\n"]
41
- #
42
- # $ cat foo.txt bar.txt | ruby t.rb
43
- # ["ARGV", []]
44
- # ["ARGF.read", "Foo 0\nFoo 1\nBar 0\nBar 1\nBar 2\nBar 3\n"]
45
- #
46
- # ### About the Examples
47
- #
48
- # Many examples here assume the existence of files `foo.txt` and `bar.txt`:
49
- #
50
- # $ cat foo.txt
51
- # Foo 0
52
- # Foo 1
53
- # $ cat bar.txt
54
- # Bar 0
55
- # Bar 1
56
- # Bar 2
57
- # Bar 3
58
- #
59
- # ### Sources in `ARGV`
60
- #
61
- # For any ARGF read *except* the [simplest case](rdoc-ref:ARGF@Simplest+Case)
62
- # (that is, *except* for the *very first* ARGF read with an empty `ARGV`), the
63
- # sources are found in `ARGV`.
64
- #
65
- # ARGF assumes that each element in array `ARGV` is a potential source, and is
66
- # one of:
67
- #
68
- # * The string path to a file that may be opened as a stream.
69
- # * The character `'-'`, meaning stream `$stdin`.
70
- #
71
- # Each element that is *not* one of these should be removed from `ARGV` before
72
- # ARGF accesses that source.
73
- #
74
- # In the following example:
75
- #
76
- # * Filepaths `foo.txt` and `bar.txt` may be retained as potential sources.
77
- # * Options `--xyzzy` and `--mojo` should be removed.
78
- #
79
- # Example:
80
- #
81
- # * File `t.rb`:
82
- #
83
- # # Print arguments (and options, if any) found on command line.
84
- # p ['ARGV', ARGV]
85
- #
86
- # * Command and output:
87
- #
88
- # $ ruby t.rb --xyzzy --mojo foo.txt bar.txt
89
- # ["ARGV", ["--xyzzy", "--mojo", "foo.txt", "bar.txt"]]
90
- #
91
- # ARGF's stream access considers the elements of `ARGV`, left to right:
92
- #
93
- # * File `t.rb`:
94
- #
95
- # p "ARGV: #{ARGV}"
96
- # p "Line: #{ARGF.read}" # Read everything from all specified streams.
97
- #
98
- # * Command and output:
99
- #
100
- # $ ruby t.rb foo.txt bar.txt
101
- # "ARGV: [\"foo.txt\", \"bar.txt\"]"
102
- # "Read: Foo 0\nFoo 1\nBar 0\nBar 1\nBar 2\nBar 3\n"
103
- #
104
- # Because the value at `ARGV` is an ordinary array, you can manipulate it to
105
- # control which sources ARGF considers:
106
- #
107
- # * If you remove an element from `ARGV`, ARGF will not consider the
108
- # corresponding source.
109
- # * If you add an element to `ARGV`, ARGF will consider the corresponding
110
- # source.
111
- #
112
- # Each element in `ARGV` is removed when its corresponding source is accessed;
113
- # when all sources have been accessed, the array is empty:
114
- #
115
- # * File `t.rb`:
116
- #
117
- # until ARGV.empty? && ARGF.eof?
118
- # p "ARGV: #{ARGV}"
119
- # p "Line: #{ARGF.readline}" # Read each line from each specified stream.
120
- # end
121
- #
122
- # * Command and output:
123
- #
124
- # $ ruby t.rb foo.txt bar.txt
125
- # "ARGV: [\"foo.txt\", \"bar.txt\"]"
126
- # "Line: Foo 0\n"
127
- # "ARGV: [\"bar.txt\"]"
128
- # "Line: Foo 1\n"
129
- # "ARGV: [\"bar.txt\"]"
130
- # "Line: Bar 0\n"
131
- # "ARGV: []"
132
- # "Line: Bar 1\n"
133
- # "ARGV: []"
134
- # "Line: Bar 2\n"
135
- # "ARGV: []"
136
- # "Line: Bar 3\n"
137
- #
138
- # #### Filepaths in `ARGV`
139
- #
140
- # The `ARGV` array may contain filepaths the specify sources for ARGF reading.
141
- #
142
- # This program prints what it reads from files at the paths specified on the
143
- # command line:
144
- #
145
- # * File `t.rb`:
146
- #
147
- # p ['ARGV', ARGV]
148
- # # Read and print all content from the specified sources.
149
- # p ['ARGF.read', ARGF.read]
150
- #
151
- # * Command and output:
152
- #
153
- # $ ruby t.rb foo.txt bar.txt
154
- # ["ARGV", [foo.txt, bar.txt]
155
- # ["ARGF.read", "Foo 0\nFoo 1\nBar 0\nBar 1\nBar 2\nBar 3\n"]
156
- #
157
- # #### Specifying `$stdin` in `ARGV`
158
- #
159
- # To specify stream `$stdin` in `ARGV`, us the character `'-'`:
160
- #
161
- # * File `t.rb`:
162
- #
163
- # p ['ARGV', ARGV]
164
- # p ['ARGF.read', ARGF.read]
165
- #
166
- # * Command and output:
167
- #
168
- # $ echo "Open the pod bay doors, Hal." | ruby t.rb -
169
- # ["ARGV", ["-"]]
170
- # ["ARGF.read", "Open the pod bay doors, Hal.\n"]
171
- #
172
- # When no character `'-'` is given, stream `$stdin` is ignored (exception: see
173
- # [Specifying $stdin in ARGV](rdoc-ref:ARGF@Specifying+-24stdin+in+ARGV)):
174
- #
175
- # * Command and output:
176
- #
177
- # $ echo "Open the pod bay doors, Hal." | ruby t.rb foo.txt bar.txt
178
- # "ARGV: [\"foo.txt\", \"bar.txt\"]"
179
- # "Read: Foo 0\nFoo 1\nBar 0\nBar 1\nBar 2\nBar 3\n"
180
- #
181
- # #### Mixtures and Repetitions in `ARGV`
182
- #
183
- # For an ARGF reader, `ARGV` may contain any mixture of filepaths and character
184
- # `'-'`, including repetitions.
185
- #
186
- # #### Modifications to `ARGV`
187
- #
188
- # The running Ruby program may make any modifications to the `ARGV` array; the
189
- # current value of `ARGV` affects ARGF reading.
190
- #
191
- # #### Empty `ARGV`
192
- #
193
- # For an empty `ARGV`, an ARGF read method either returns `nil` or raises an
194
- # exception, depending on the specific method.
195
- #
196
- # ### More Read Methods
197
- #
198
- # As seen above, method ARGF#read reads the content of all sources into a single
199
- # string. Other ARGF methods provide other ways to access that content; these
200
- # include:
201
- #
202
- # * Byte access: #each_byte, #getbyte, #readbyte.
203
- # * Character access: #each_char, #getc, #readchar.
204
- # * Codepoint access: #each_codepoint.
205
- # * Line access: #each_line, #gets, #readline, #readlines.
206
- # * Source access: #read, #read_nonblock, #readpartial.
207
- #
208
- # ### About Enumerable
209
- #
210
- # ARGF includes module Enumerable. Virtually all methods in Enumerable call
211
- # method `#each` in the including class.
212
- #
213
- # **Note well**: In ARGF, method #each returns data from the *sources*, *not*
214
- # from `ARGV`; therefore, for example, `ARGF#entries` returns an array of lines
215
- # from the sources, not an array of the strings from `ARGV`:
216
- #
217
- # * File `t.rb`:
218
- #
219
- # p ['ARGV', ARGV]
220
- # p ['ARGF.entries', ARGF.entries]
221
- #
222
- # * Command and output:
223
- #
224
- # $ ruby t.rb foo.txt bar.txt
225
- # ["ARGV", ["foo.txt", "bar.txt"]]
226
- # ["ARGF.entries", ["Foo 0\n", "Foo 1\n", "Bar 0\n", "Bar 1\n", "Bar 2\n", "Bar 3\n"]]
227
- #
228
- # ## Writing
229
- #
230
- # If *inplace mode* is in effect, ARGF may write to target streams, which at any
231
- # particular time are determined by the content of ARGV.
232
- #
233
- # Methods about inplace mode:
234
- #
235
- # * #inplace_mode
236
- # * #inplace_mode=
237
- # * #to_write_io
238
- #
239
- # Methods for writing:
240
- #
241
- # * #print
242
- # * #printf
243
- # * #putc
244
- # * #puts
245
- # * #write
246
- #
247
- %a{annotate:rdoc:copy:ARGF}
248
- class ARGFClass
249
- include Enumerable[String]
250
-
251
- # <!--
252
- # rdoc-file=io.c
253
- # - ARGF.argv -> ARGV
254
- # -->
255
- # Returns the `ARGV` array, which contains the arguments passed to your script,
256
- # one per element.
257
- #
258
- # For example:
259
- #
260
- # $ ruby argf.rb -v glark.txt
261
- #
262
- # ARGF.argv #=> ["-v", "glark.txt"]
263
- #
264
- %a{annotate:rdoc:copy:ARGF#argv}
265
- def argv: () -> ::Array[String]
266
-
267
- # <!--
268
- # rdoc-file=io.c
269
- # - ARGF.binmode -> ARGF
270
- # -->
271
- # Puts ARGF into binary mode. Once a stream is in binary mode, it cannot be
272
- # reset to non-binary mode. This option has the following effects:
273
- #
274
- # * Newline conversion is disabled.
275
- # * Encoding conversion is disabled.
276
- # * Content is treated as ASCII-8BIT.
277
- #
278
- %a{annotate:rdoc:copy:ARGF#binmode}
279
- def binmode: () -> self
280
-
281
- # <!--
282
- # rdoc-file=io.c
283
- # - ARGF.binmode? -> true or false
284
- # -->
285
- # Returns true if ARGF is being read in binary mode; false otherwise. To enable
286
- # binary mode use ARGF.binmode.
287
- #
288
- # For example:
289
- #
290
- # ARGF.binmode? #=> false
291
- # ARGF.binmode
292
- # ARGF.binmode? #=> true
293
- #
294
- %a{annotate:rdoc:copy:ARGF#binmode?}
295
- def binmode?: () -> bool
296
-
297
- # <!--
298
- # rdoc-file=io.c
299
- # - ARGF.close -> ARGF
300
- # -->
301
- # Closes the current file and skips to the next file in ARGV. If there are no
302
- # more files to open, just closes the current file. STDIN will not be closed.
303
- #
304
- # For example:
305
- #
306
- # $ ruby argf.rb foo bar
307
- #
308
- # ARGF.filename #=> "foo"
309
- # ARGF.close
310
- # ARGF.filename #=> "bar"
311
- # ARGF.close
312
- #
313
- %a{annotate:rdoc:copy:ARGF#close}
314
- def close: () -> self
315
-
316
- # <!--
317
- # rdoc-file=io.c
318
- # - ARGF.closed? -> true or false
319
- # -->
320
- # Returns *true* if the current file has been closed; *false* otherwise. Use
321
- # ARGF.close to actually close the current file.
322
- #
323
- %a{annotate:rdoc:copy:ARGF#closed?}
324
- def closed?: () -> bool
325
-
326
- # <!--
327
- # rdoc-file=io.c
328
- # - ARGF.each(sep=$/) {|line| block } -> ARGF
329
- # - ARGF.each(sep=$/, limit) {|line| block } -> ARGF
330
- # - ARGF.each(...) -> an_enumerator
331
- # - ARGF.each_line(sep=$/) {|line| block } -> ARGF
332
- # - ARGF.each_line(sep=$/, limit) {|line| block } -> ARGF
333
- # - ARGF.each_line(...) -> an_enumerator
334
- # -->
335
- # Returns an enumerator which iterates over each line (separated by *sep*, which
336
- # defaults to your platform's newline character) of each file in `ARGV`. If a
337
- # block is supplied, each line in turn will be yielded to the block, otherwise
338
- # an enumerator is returned. The optional *limit* argument is an Integer
339
- # specifying the maximum length of each line; longer lines will be split
340
- # according to this limit.
341
- #
342
- # This method allows you to treat the files supplied on the command line as a
343
- # single file consisting of the concatenation of each named file. After the last
344
- # line of the first file has been returned, the first line of the second file is
345
- # returned. The ARGF.filename and ARGF.lineno methods can be used to determine
346
- # the filename of the current line and line number of the whole input,
347
- # respectively.
348
- #
349
- # For example, the following code prints out each line of each named file
350
- # prefixed with its line number, displaying the filename once per file:
351
- #
352
- # ARGF.each_line do |line|
353
- # puts ARGF.filename if ARGF.file.lineno == 1
354
- # puts "#{ARGF.file.lineno}: #{line}"
355
- # end
356
- #
357
- # While the following code prints only the first file's name at first, and the
358
- # contents with line number counted through all named files.
359
- #
360
- # ARGF.each_line do |line|
361
- # puts ARGF.filename if ARGF.lineno == 1
362
- # puts "#{ARGF.lineno}: #{line}"
363
- # end
364
- #
365
- %a{annotate:rdoc:copy:ARGF#each}
366
- def each: (?String sep, ?Integer limit) { (String line) -> untyped } -> self
367
- | (?String sep, ?Integer limit) -> ::Enumerator[String, self]
368
-
369
- # <!--
370
- # rdoc-file=io.c
371
- # - ARGF.each_byte {|byte| block } -> ARGF
372
- # - ARGF.each_byte -> an_enumerator
373
- # -->
374
- # Iterates over each byte of each file in `ARGV`. A byte is returned as an
375
- # Integer in the range 0..255.
376
- #
377
- # This method allows you to treat the files supplied on the command line as a
378
- # single file consisting of the concatenation of each named file. After the last
379
- # byte of the first file has been returned, the first byte of the second file is
380
- # returned. The ARGF.filename method can be used to determine the filename of
381
- # the current byte.
382
- #
383
- # If no block is given, an enumerator is returned instead.
384
- #
385
- # For example:
386
- #
387
- # ARGF.bytes.to_a #=> [35, 32, ... 95, 10]
388
- #
389
- %a{annotate:rdoc:copy:ARGF#each_byte}
390
- def each_byte: () { (Integer byte) -> untyped } -> self
391
- | () -> ::Enumerator[Integer, self]
392
-
393
- # <!--
394
- # rdoc-file=io.c
395
- # - ARGF.each_char {|char| block } -> ARGF
396
- # - ARGF.each_char -> an_enumerator
397
- # -->
398
- # Iterates over each character of each file in ARGF.
399
- #
400
- # This method allows you to treat the files supplied on the command line as a
401
- # single file consisting of the concatenation of each named file. After the last
402
- # character of the first file has been returned, the first character of the
403
- # second file is returned. The ARGF.filename method can be used to determine the
404
- # name of the file in which the current character appears.
405
- #
406
- # If no block is given, an enumerator is returned instead.
407
- #
408
- %a{annotate:rdoc:copy:ARGF#each_char}
409
- def each_char: () { (String char) -> untyped } -> self
410
- | () -> ::Enumerator[String, self]
411
-
412
- # <!--
413
- # rdoc-file=io.c
414
- # - ARGF.each_codepoint {|codepoint| block } -> ARGF
415
- # - ARGF.each_codepoint -> an_enumerator
416
- # -->
417
- # Iterates over each codepoint of each file in ARGF.
418
- #
419
- # This method allows you to treat the files supplied on the command line as a
420
- # single file consisting of the concatenation of each named file. After the last
421
- # codepoint of the first file has been returned, the first codepoint of the
422
- # second file is returned. The ARGF.filename method can be used to determine the
423
- # name of the file in which the current codepoint appears.
424
- #
425
- # If no block is given, an enumerator is returned instead.
426
- #
427
- %a{annotate:rdoc:copy:ARGF#each_codepoint}
428
- def each_codepoint: () { (Integer codepoint) -> untyped } -> self
429
- | () -> ::Enumerator[Integer, self]
430
-
431
- # <!-- rdoc-file=io.c -->
432
- # Returns an enumerator which iterates over each line (separated by *sep*, which
433
- # defaults to your platform's newline character) of each file in `ARGV`. If a
434
- # block is supplied, each line in turn will be yielded to the block, otherwise
435
- # an enumerator is returned. The optional *limit* argument is an Integer
436
- # specifying the maximum length of each line; longer lines will be split
437
- # according to this limit.
438
- #
439
- # This method allows you to treat the files supplied on the command line as a
440
- # single file consisting of the concatenation of each named file. After the last
441
- # line of the first file has been returned, the first line of the second file is
442
- # returned. The ARGF.filename and ARGF.lineno methods can be used to determine
443
- # the filename of the current line and line number of the whole input,
444
- # respectively.
445
- #
446
- # For example, the following code prints out each line of each named file
447
- # prefixed with its line number, displaying the filename once per file:
448
- #
449
- # ARGF.each_line do |line|
450
- # puts ARGF.filename if ARGF.file.lineno == 1
451
- # puts "#{ARGF.file.lineno}: #{line}"
452
- # end
453
- #
454
- # While the following code prints only the first file's name at first, and the
455
- # contents with line number counted through all named files.
456
- #
457
- # ARGF.each_line do |line|
458
- # puts ARGF.filename if ARGF.lineno == 1
459
- # puts "#{ARGF.lineno}: #{line}"
460
- # end
461
- #
462
- %a{annotate:rdoc:copy:ARGF#each_line}
463
- def each_line: (?String sep, ?Integer limit) { (String line) -> untyped } -> self
464
- | (?String sep, ?Integer limit) -> ::Enumerator[String, self]
465
-
466
- # <!--
467
- # rdoc-file=io.c
468
- # - ARGF.eof? -> true or false
469
- # - ARGF.eof -> true or false
470
- # -->
471
- # Returns true if the current file in ARGF is at end of file, i.e. it has no
472
- # data to read. The stream must be opened for reading or an IOError will be
473
- # raised.
474
- #
475
- # $ echo "eof" | ruby argf.rb
476
- #
477
- # ARGF.eof? #=> false
478
- # 3.times { ARGF.readchar }
479
- # ARGF.eof? #=> false
480
- # ARGF.readchar #=> "\n"
481
- # ARGF.eof? #=> true
482
- #
483
- %a{annotate:rdoc:copy:ARGF#eof}
484
- def eof: () -> bool
485
-
486
- # <!-- rdoc-file=io.c -->
487
- # Returns true if the current file in ARGF is at end of file, i.e. it has no
488
- # data to read. The stream must be opened for reading or an IOError will be
489
- # raised.
490
- #
491
- # $ echo "eof" | ruby argf.rb
492
- #
493
- # ARGF.eof? #=> false
494
- # 3.times { ARGF.readchar }
495
- # ARGF.eof? #=> false
496
- # ARGF.readchar #=> "\n"
497
- # ARGF.eof? #=> true
498
- #
499
- %a{annotate:rdoc:copy:ARGF#eof?}
500
- def eof?: () -> bool
501
-
502
- # <!--
503
- # rdoc-file=io.c
504
- # - ARGF.external_encoding -> encoding
505
- # -->
506
- # Returns the external encoding for files read from ARGF as an Encoding object.
507
- # The external encoding is the encoding of the text as stored in a file.
508
- # Contrast with ARGF.internal_encoding, which is the encoding used to represent
509
- # this text within Ruby.
510
- #
511
- # To set the external encoding use ARGF.set_encoding.
512
- #
513
- # For example:
514
- #
515
- # ARGF.external_encoding #=> #<Encoding:UTF-8>
516
- #
517
- %a{annotate:rdoc:copy:ARGF#external_encoding}
518
- def external_encoding: () -> Encoding
519
-
520
- # <!--
521
- # rdoc-file=io.c
522
- # - ARGF.file -> IO or File object
523
- # -->
524
- # Returns the current file as an IO or File object. `$stdin` is returned when
525
- # the current file is STDIN.
526
- #
527
- # For example:
528
- #
529
- # $ echo "foo" > foo
530
- # $ echo "bar" > bar
531
- #
532
- # $ ruby argf.rb foo bar
533
- #
534
- # ARGF.file #=> #<File:foo>
535
- # ARGF.read(5) #=> "foo\nb"
536
- # ARGF.file #=> #<File:bar>
537
- #
538
- %a{annotate:rdoc:copy:ARGF#file}
539
- def file: () -> (IO | File)
540
-
541
- # <!--
542
- # rdoc-file=io.c
543
- # - ARGF.filename -> String
544
- # - ARGF.path -> String
545
- # -->
546
- # Returns the current filename. "-" is returned when the current file is STDIN.
547
- #
548
- # For example:
549
- #
550
- # $ echo "foo" > foo
551
- # $ echo "bar" > bar
552
- # $ echo "glark" > glark
553
- #
554
- # $ ruby argf.rb foo bar glark
555
- #
556
- # ARGF.filename #=> "foo"
557
- # ARGF.read(5) #=> "foo\nb"
558
- # ARGF.filename #=> "bar"
559
- # ARGF.skip
560
- # ARGF.filename #=> "glark"
561
- #
562
- %a{annotate:rdoc:copy:ARGF#filename}
563
- def filename: () -> String
564
-
565
- # <!--
566
- # rdoc-file=io.c
567
- # - ARGF.fileno -> integer
568
- # - ARGF.to_i -> integer
569
- # -->
570
- # Returns an integer representing the numeric file descriptor for the current
571
- # file. Raises an ArgumentError if there isn't a current file.
572
- #
573
- # ARGF.fileno #=> 3
574
- #
575
- %a{annotate:rdoc:copy:ARGF#fileno}
576
- def fileno: () -> Integer
577
-
578
- # <!--
579
- # rdoc-file=io.c
580
- # - ARGF.getbyte -> Integer or nil
581
- # -->
582
- # Gets the next 8-bit byte (0..255) from ARGF. Returns `nil` if called at the
583
- # end of the stream.
584
- #
585
- # For example:
586
- #
587
- # $ echo "foo" > file
588
- # $ ruby argf.rb file
589
- #
590
- # ARGF.getbyte #=> 102
591
- # ARGF.getbyte #=> 111
592
- # ARGF.getbyte #=> 111
593
- # ARGF.getbyte #=> 10
594
- # ARGF.getbyte #=> nil
595
- #
596
- %a{annotate:rdoc:copy:ARGF#getbyte}
597
- def getbyte: () -> Integer?
598
-
599
- # <!--
600
- # rdoc-file=io.c
601
- # - ARGF.getc -> String or nil
602
- # -->
603
- # Reads the next character from ARGF and returns it as a String. Returns `nil`
604
- # at the end of the stream.
605
- #
606
- # ARGF treats the files named on the command line as a single file created by
607
- # concatenating their contents. After returning the last character of the first
608
- # file, it returns the first character of the second file, and so on.
609
- #
610
- # For example:
611
- #
612
- # $ echo "foo" > file
613
- # $ ruby argf.rb file
614
- #
615
- # ARGF.getc #=> "f"
616
- # ARGF.getc #=> "o"
617
- # ARGF.getc #=> "o"
618
- # ARGF.getc #=> "\n"
619
- # ARGF.getc #=> nil
620
- # ARGF.getc #=> nil
621
- #
622
- %a{annotate:rdoc:copy:ARGF#getc}
623
- def getc: () -> String?
624
-
625
- # <!--
626
- # rdoc-file=io.c
627
- # - ARGF.gets(sep=$/ [, getline_args]) -> string or nil
628
- # - ARGF.gets(limit [, getline_args]) -> string or nil
629
- # - ARGF.gets(sep, limit [, getline_args]) -> string or nil
630
- # -->
631
- # Returns the next line from the current file in ARGF.
632
- #
633
- # By default lines are assumed to be separated by `$/`; to use a different
634
- # character as a separator, supply it as a String for the *sep* argument.
635
- #
636
- # The optional *limit* argument specifies how many characters of each line to
637
- # return. By default all characters are returned.
638
- #
639
- # See IO.readlines for details about getline_args.
640
- #
641
- %a{annotate:rdoc:copy:ARGF#gets}
642
- def gets: (?String sep, ?Integer limit) -> String?
643
-
644
- # <!--
645
- # rdoc-file=io.c
646
- # - ARGF.inplace_mode -> String
647
- # -->
648
- # Returns the file extension appended to the names of backup copies of modified
649
- # files under in-place edit mode. This value can be set using ARGF.inplace_mode=
650
- # or passing the `-i` switch to the Ruby binary.
651
- #
652
- %a{annotate:rdoc:copy:ARGF#inplace_mode}
653
- def inplace_mode: () -> String?
654
-
655
- # <!--
656
- # rdoc-file=io.c
657
- # - ARGF.inplace_mode = ext -> ARGF
658
- # -->
659
- # Sets the filename extension for in-place editing mode to the given String. The
660
- # backup copy of each file being edited has this value appended to its filename.
661
- #
662
- # For example:
663
- #
664
- # $ ruby argf.rb file.txt
665
- #
666
- # ARGF.inplace_mode = '.bak'
667
- # ARGF.each_line do |line|
668
- # print line.sub("foo","bar")
669
- # end
670
- #
671
- # First, *file.txt.bak* is created as a backup copy of *file.txt*. Then, each
672
- # line of *file.txt* has the first occurrence of "foo" replaced with "bar".
673
- #
674
- %a{annotate:rdoc:copy:ARGF#inplace_mode=}
675
- def inplace_mode=: (String) -> self
676
-
677
- alias inspect to_s
678
-
679
- # <!--
680
- # rdoc-file=io.c
681
- # - ARGF.internal_encoding -> encoding
682
- # -->
683
- # Returns the internal encoding for strings read from ARGF as an Encoding
684
- # object.
685
- #
686
- # If ARGF.set_encoding has been called with two encoding names, the second is
687
- # returned. Otherwise, if `Encoding.default_external` has been set, that value
688
- # is returned. Failing that, if a default external encoding was specified on the
689
- # command-line, that value is used. If the encoding is unknown, `nil` is
690
- # returned.
691
- #
692
- %a{annotate:rdoc:copy:ARGF#internal_encoding}
693
- def internal_encoding: () -> Encoding
694
-
695
- # <!--
696
- # rdoc-file=io.c
697
- # - ARGF.lineno -> integer
698
- # -->
699
- # Returns the current line number of ARGF as a whole. This value can be set
700
- # manually with ARGF.lineno=.
701
- #
702
- # For example:
703
- #
704
- # ARGF.lineno #=> 0
705
- # ARGF.readline #=> "This is line 1\n"
706
- # ARGF.lineno #=> 1
707
- #
708
- %a{annotate:rdoc:copy:ARGF#lineno}
709
- def lineno: () -> Integer
710
-
711
- # <!--
712
- # rdoc-file=io.c
713
- # - ARGF.lineno = integer -> integer
714
- # -->
715
- # Sets the line number of ARGF as a whole to the given Integer.
716
- #
717
- # ARGF sets the line number automatically as you read data, so normally you will
718
- # not need to set it explicitly. To access the current line number use
719
- # ARGF.lineno.
720
- #
721
- # For example:
722
- #
723
- # ARGF.lineno #=> 0
724
- # ARGF.readline #=> "This is line 1\n"
725
- # ARGF.lineno #=> 1
726
- # ARGF.lineno = 0 #=> 0
727
- # ARGF.lineno #=> 0
728
- #
729
- %a{annotate:rdoc:copy:ARGF#lineno=}
730
- def lineno=: (Integer) -> untyped
731
-
732
- # <!-- rdoc-file=io.c -->
733
- # Returns the current filename. "-" is returned when the current file is STDIN.
734
- #
735
- # For example:
736
- #
737
- # $ echo "foo" > foo
738
- # $ echo "bar" > bar
739
- # $ echo "glark" > glark
740
- #
741
- # $ ruby argf.rb foo bar glark
742
- #
743
- # ARGF.filename #=> "foo"
744
- # ARGF.read(5) #=> "foo\nb"
745
- # ARGF.filename #=> "bar"
746
- # ARGF.skip
747
- # ARGF.filename #=> "glark"
748
- #
749
- %a{annotate:rdoc:copy:ARGF#path}
750
- def path: () -> String
751
-
752
- # <!-- rdoc-file=io.c -->
753
- # Returns the current offset (in bytes) of the current file in ARGF.
754
- #
755
- # ARGF.pos #=> 0
756
- # ARGF.gets #=> "This is line one\n"
757
- # ARGF.pos #=> 17
758
- #
759
- %a{annotate:rdoc:copy:ARGF#pos}
760
- def pos: () -> Integer
761
-
762
- # <!--
763
- # rdoc-file=io.c
764
- # - ARGF.pos = position -> Integer
765
- # -->
766
- # Seeks to the position given by *position* (in bytes) in ARGF.
767
- #
768
- # For example:
769
- #
770
- # ARGF.pos = 17
771
- # ARGF.gets #=> "This is line two\n"
772
- #
773
- %a{annotate:rdoc:copy:ARGF#pos=}
774
- def pos=: (Integer) -> Integer
775
-
776
- # <!--
777
- # rdoc-file=io.c
778
- # - print(*objects) -> nil
779
- # -->
780
- # Writes the given objects to the stream; returns `nil`. Appends the output
781
- # record separator `$OUTPUT_RECORD_SEPARATOR` (`$\`), if it is not `nil`. See
782
- # [Line IO](rdoc-ref:IO@Line+IO).
783
- #
784
- # With argument `objects` given, for each object:
785
- #
786
- # * Converts via its method `to_s` if not a string.
787
- # * Writes to the stream.
788
- # * If not the last object, writes the output field separator
789
- # `$OUTPUT_FIELD_SEPARATOR` (`$,`) if it is not `nil`.
790
- #
791
- # With default separators:
792
- #
793
- # f = File.open('t.tmp', 'w+')
794
- # objects = [0, 0.0, Rational(0, 1), Complex(0, 0), :zero, 'zero']
795
- # p $OUTPUT_RECORD_SEPARATOR
796
- # p $OUTPUT_FIELD_SEPARATOR
797
- # f.print(*objects)
798
- # f.rewind
799
- # p f.read
800
- # f.close
801
- #
802
- # Output:
803
- #
804
- # nil
805
- # nil
806
- # "00.00/10+0izerozero"
807
- #
808
- # With specified separators:
809
- #
810
- # $\ = "\n"
811
- # $, = ','
812
- # f.rewind
813
- # f.print(*objects)
814
- # f.rewind
815
- # p f.read
816
- #
817
- # Output:
818
- #
819
- # "0,0.0,0/1,0+0i,zero,zero\n"
820
- #
821
- # With no argument given, writes the content of `$_` (which is usually the most
822
- # recent user input):
823
- #
824
- # f = File.open('t.tmp', 'w+')
825
- # gets # Sets $_ to the most recent user input.
826
- # f.print
827
- # f.close
828
- #
829
- %a{annotate:rdoc:copy:ARGF#print}
830
- def print: (*untyped args) -> nil
831
-
832
- # <!--
833
- # rdoc-file=io.c
834
- # - printf(format_string, *objects) -> nil
835
- # -->
836
- # Formats and writes `objects` to the stream.
837
- #
838
- # For details on `format_string`, see [Format
839
- # Specifications](rdoc-ref:format_specifications.rdoc).
840
- #
841
- %a{annotate:rdoc:copy:ARGF#printf}
842
- def printf: (String format_string, *untyped args) -> nil
843
-
844
- # <!--
845
- # rdoc-file=io.c
846
- # - putc(object) -> object
847
- # -->
848
- # Writes a character to the stream. See [Character
849
- # IO](rdoc-ref:IO@Character+IO).
850
- #
851
- # If `object` is numeric, converts to integer if necessary, then writes the
852
- # character whose code is the least significant byte; if `object` is a string,
853
- # writes the first character:
854
- #
855
- # $stdout.putc "A"
856
- # $stdout.putc 65
857
- #
858
- # Output:
859
- #
860
- # AA
861
- #
862
- %a{annotate:rdoc:copy:ARGF#putc}
863
- def putc: (Numeric | String obj) -> untyped
864
-
865
- # <!--
866
- # rdoc-file=io.c
867
- # - puts(*objects) -> nil
868
- # -->
869
- # Writes the given `objects` to the stream, which must be open for writing;
870
- # returns `nil`.\ Writes a newline after each that does not already end with a
871
- # newline sequence. If called without arguments, writes a newline. See [Line
872
- # IO](rdoc-ref:IO@Line+IO).
873
- #
874
- # Note that each added newline is the character `"\n"<//tt>, not the output
875
- # record separator (<tt>$\`).
876
- #
877
- # Treatment for each object:
878
- #
879
- # * String: writes the string.
880
- # * Neither string nor array: writes `object.to_s`.
881
- # * Array: writes each element of the array; arrays may be nested.
882
- #
883
- # To keep these examples brief, we define this helper method:
884
- #
885
- # def show(*objects)
886
- # # Puts objects to file.
887
- # f = File.new('t.tmp', 'w+')
888
- # f.puts(objects)
889
- # # Return file content.
890
- # f.rewind
891
- # p f.read
892
- # f.close
893
- # end
894
- #
895
- # # Strings without newlines.
896
- # show('foo', 'bar', 'baz') # => "foo\nbar\nbaz\n"
897
- # # Strings, some with newlines.
898
- # show("foo\n", 'bar', "baz\n") # => "foo\nbar\nbaz\n"
899
- #
900
- # # Neither strings nor arrays:
901
- # show(0, 0.0, Rational(0, 1), Complex(9, 0), :zero)
902
- # # => "0\n0.0\n0/1\n9+0i\nzero\n"
903
- #
904
- # # Array of strings.
905
- # show(['foo', "bar\n", 'baz']) # => "foo\nbar\nbaz\n"
906
- # # Nested arrays.
907
- # show([[[0, 1], 2, 3], 4, 5]) # => "0\n1\n2\n3\n4\n5\n"
908
- #
909
- %a{annotate:rdoc:copy:ARGF#puts}
910
- def puts: (*untyped obj) -> nil
911
-
912
- # <!--
913
- # rdoc-file=io.c
914
- # - ARGF.read([length [, outbuf]]) -> string, outbuf, or nil
915
- # -->
916
- # Reads *length* bytes from ARGF. The files named on the command line are
917
- # concatenated and treated as a single file by this method, so when called
918
- # without arguments the contents of this pseudo file are returned in their
919
- # entirety.
920
- #
921
- # *length* must be a non-negative integer or `nil`.
922
- #
923
- # If *length* is a positive integer, `read` tries to read *length* bytes without
924
- # any conversion (binary mode). It returns `nil` if an EOF is encountered before
925
- # anything can be read. Fewer than *length* bytes are returned if an EOF is
926
- # encountered during the read. In the case of an integer *length*, the resulting
927
- # string is always in ASCII-8BIT encoding.
928
- #
929
- # If *length* is omitted or is `nil`, it reads until EOF and the encoding
930
- # conversion is applied, if applicable. A string is returned even if EOF is
931
- # encountered before any data is read.
932
- #
933
- # If *length* is zero, it returns an empty string (`""`).
934
- #
935
- # If the optional *outbuf* argument is present, it must reference a String,
936
- # which will receive the data. The *outbuf* will contain only the received data
937
- # after the method call even if it is not empty at the beginning.
938
- #
939
- # For example:
940
- #
941
- # $ echo "small" > small.txt
942
- # $ echo "large" > large.txt
943
- # $ ./glark.rb small.txt large.txt
944
- #
945
- # ARGF.read #=> "small\nlarge"
946
- # ARGF.read(200) #=> "small\nlarge"
947
- # ARGF.read(2) #=> "sm"
948
- # ARGF.read(0) #=> ""
949
- #
950
- # Note that this method behaves like the fread() function in C. This means it
951
- # retries to invoke read(2) system calls to read data with the specified length.
952
- # If you need the behavior like a single read(2) system call, consider
953
- # ARGF#readpartial or ARGF#read_nonblock.
954
- #
955
- %a{annotate:rdoc:copy:ARGF#read}
956
- def read: (?int? length, ?string outbuf) -> String?
957
-
958
- # <!--
959
- # rdoc-file=io.c
960
- # - ARGF.read_nonblock(maxlen[, options]) -> string
961
- # - ARGF.read_nonblock(maxlen, outbuf[, options]) -> outbuf
962
- # -->
963
- # Reads at most *maxlen* bytes from the ARGF stream in non-blocking mode.
964
- #
965
- %a{annotate:rdoc:copy:ARGF#read_nonblock}
966
- def read_nonblock: (int maxlen, ?string buf, **untyped options) -> String
967
-
968
- # <!--
969
- # rdoc-file=io.c
970
- # - ARGF.readbyte -> Integer
971
- # -->
972
- # Reads the next 8-bit byte from ARGF and returns it as an Integer. Raises an
973
- # EOFError after the last byte of the last file has been read.
974
- #
975
- # For example:
976
- #
977
- # $ echo "foo" > file
978
- # $ ruby argf.rb file
979
- #
980
- # ARGF.readbyte #=> 102
981
- # ARGF.readbyte #=> 111
982
- # ARGF.readbyte #=> 111
983
- # ARGF.readbyte #=> 10
984
- # ARGF.readbyte #=> end of file reached (EOFError)
985
- #
986
- %a{annotate:rdoc:copy:ARGF#readbyte}
987
- def readbyte: () -> Integer
988
-
989
- # <!--
990
- # rdoc-file=io.c
991
- # - ARGF.readchar -> String or nil
992
- # -->
993
- # Reads the next character from ARGF and returns it as a String. Raises an
994
- # EOFError after the last character of the last file has been read.
995
- #
996
- # For example:
997
- #
998
- # $ echo "foo" > file
999
- # $ ruby argf.rb file
1000
- #
1001
- # ARGF.readchar #=> "f"
1002
- # ARGF.readchar #=> "o"
1003
- # ARGF.readchar #=> "o"
1004
- # ARGF.readchar #=> "\n"
1005
- # ARGF.readchar #=> end of file reached (EOFError)
1006
- #
1007
- %a{annotate:rdoc:copy:ARGF#readchar}
1008
- def readchar: () -> String
1009
-
1010
- # <!--
1011
- # rdoc-file=io.c
1012
- # - ARGF.readline(sep=$/) -> string
1013
- # - ARGF.readline(limit) -> string
1014
- # - ARGF.readline(sep, limit) -> string
1015
- # -->
1016
- # Returns the next line from the current file in ARGF.
1017
- #
1018
- # By default lines are assumed to be separated by `$/`; to use a different
1019
- # character as a separator, supply it as a String for the *sep* argument.
1020
- #
1021
- # The optional *limit* argument specifies how many characters of each line to
1022
- # return. By default all characters are returned.
1023
- #
1024
- # An EOFError is raised at the end of the file.
1025
- #
1026
- %a{annotate:rdoc:copy:ARGF#readline}
1027
- def readline: (?String sep, ?Integer limit) -> String
1028
-
1029
- # <!--
1030
- # rdoc-file=io.c
1031
- # - ARGF.readlines(sep = $/, chomp: false) -> array
1032
- # - ARGF.readlines(limit, chomp: false) -> array
1033
- # - ARGF.readlines(sep, limit, chomp: false) -> array
1034
- # - ARGF.to_a(sep = $/, chomp: false) -> array
1035
- # - ARGF.to_a(limit, chomp: false) -> array
1036
- # - ARGF.to_a(sep, limit, chomp: false) -> array
1037
- # -->
1038
- # Reads each file in ARGF in its entirety, returning an Array containing lines
1039
- # from the files. Lines are assumed to be separated by *sep*.
1040
- #
1041
- # lines = ARGF.readlines
1042
- # lines[0] #=> "This is line one\n"
1043
- #
1044
- # See `IO.readlines` for a full description of all options.
1045
- #
1046
- %a{annotate:rdoc:copy:ARGF#readlines}
1047
- def readlines: (?String sep, ?Integer limit) -> ::Array[String]
1048
-
1049
- # <!--
1050
- # rdoc-file=io.c
1051
- # - ARGF.readpartial(maxlen) -> string
1052
- # - ARGF.readpartial(maxlen, outbuf) -> outbuf
1053
- # -->
1054
- # Reads at most *maxlen* bytes from the ARGF stream.
1055
- #
1056
- # If the optional *outbuf* argument is present, it must reference a String,
1057
- # which will receive the data. The *outbuf* will contain only the received data
1058
- # after the method call even if it is not empty at the beginning.
1059
- #
1060
- # It raises EOFError on end of ARGF stream. Since ARGF stream is a concatenation
1061
- # of multiple files, internally EOF is occur for each file. ARGF.readpartial
1062
- # returns empty strings for EOFs except the last one and raises EOFError for the
1063
- # last one.
1064
- #
1065
- %a{annotate:rdoc:copy:ARGF#readpartial}
1066
- def readpartial: (int maxlen, ?string outbuf) -> String
1067
-
1068
- # <!--
1069
- # rdoc-file=io.c
1070
- # - ARGF.rewind -> 0
1071
- # -->
1072
- # Positions the current file to the beginning of input, resetting ARGF.lineno to
1073
- # zero.
1074
- #
1075
- # ARGF.readline #=> "This is line one\n"
1076
- # ARGF.rewind #=> 0
1077
- # ARGF.lineno #=> 0
1078
- # ARGF.readline #=> "This is line one\n"
1079
- #
1080
- %a{annotate:rdoc:copy:ARGF#rewind}
1081
- def rewind: () -> Integer
1082
-
1083
- # <!--
1084
- # rdoc-file=io.c
1085
- # - ARGF.seek(amount, whence=IO::SEEK_SET) -> 0
1086
- # -->
1087
- # Seeks to offset *amount* (an Integer) in the ARGF stream according to the
1088
- # value of *whence*. See IO#seek for further details.
1089
- #
1090
- %a{annotate:rdoc:copy:ARGF#seek}
1091
- def seek: (Integer amount, ?Integer whence) -> Integer
1092
-
1093
- # <!--
1094
- # rdoc-file=io.c
1095
- # - ARGF.set_encoding(ext_enc) -> ARGF
1096
- # - ARGF.set_encoding("ext_enc:int_enc") -> ARGF
1097
- # - ARGF.set_encoding(ext_enc, int_enc) -> ARGF
1098
- # - ARGF.set_encoding("ext_enc:int_enc", opt) -> ARGF
1099
- # - ARGF.set_encoding(ext_enc, int_enc, opt) -> ARGF
1100
- # -->
1101
- # If single argument is specified, strings read from ARGF are tagged with the
1102
- # encoding specified.
1103
- #
1104
- # If two encoding names separated by a colon are given, e.g. "ascii:utf-8", the
1105
- # read string is converted from the first encoding (external encoding) to the
1106
- # second encoding (internal encoding), then tagged with the second encoding.
1107
- #
1108
- # If two arguments are specified, they must be encoding objects or encoding
1109
- # names. Again, the first specifies the external encoding; the second specifies
1110
- # the internal encoding.
1111
- #
1112
- # If the external encoding and the internal encoding are specified, the optional
1113
- # Hash argument can be used to adjust the conversion process. The structure of
1114
- # this hash is explained in the String#encode documentation.
1115
- #
1116
- # For example:
1117
- #
1118
- # ARGF.set_encoding('ascii') # Tag the input as US-ASCII text
1119
- # ARGF.set_encoding(Encoding::UTF_8) # Tag the input as UTF-8 text
1120
- # ARGF.set_encoding('utf-8','ascii') # Transcode the input from US-ASCII
1121
- # # to UTF-8.
1122
- #
1123
- %a{annotate:rdoc:copy:ARGF#set_encoding}
1124
- def set_encoding: (String | Encoding ext_or_ext_int_enc, ?String | Encoding int_enc) -> self
1125
-
1126
- # <!--
1127
- # rdoc-file=io.c
1128
- # - ARGF.skip -> ARGF
1129
- # -->
1130
- # Sets the current file to the next file in ARGV. If there aren't any more files
1131
- # it has no effect.
1132
- #
1133
- # For example:
1134
- #
1135
- # $ ruby argf.rb foo bar
1136
- # ARGF.filename #=> "foo"
1137
- # ARGF.skip
1138
- # ARGF.filename #=> "bar"
1139
- #
1140
- %a{annotate:rdoc:copy:ARGF#skip}
1141
- def skip: () -> self
1142
-
1143
- # <!--
1144
- # rdoc-file=io.c
1145
- # - ARGF.tell -> Integer
1146
- # - ARGF.pos -> Integer
1147
- # -->
1148
- # Returns the current offset (in bytes) of the current file in ARGF.
1149
- #
1150
- # ARGF.pos #=> 0
1151
- # ARGF.gets #=> "This is line one\n"
1152
- # ARGF.pos #=> 17
1153
- #
1154
- %a{annotate:rdoc:copy:ARGF#tell}
1155
- def tell: () -> Integer
1156
-
1157
- # <!-- rdoc-file=io.c -->
1158
- # Reads each file in ARGF in its entirety, returning an Array containing lines
1159
- # from the files. Lines are assumed to be separated by *sep*.
1160
- #
1161
- # lines = ARGF.readlines
1162
- # lines[0] #=> "This is line one\n"
1163
- #
1164
- # See `IO.readlines` for a full description of all options.
1165
- #
1166
- %a{annotate:rdoc:copy:ARGF#to_a}
1167
- def to_a: (?String sep, ?Integer limit) -> ::Array[String]
1168
-
1169
- # <!-- rdoc-file=io.c -->
1170
- # Returns an integer representing the numeric file descriptor for the current
1171
- # file. Raises an ArgumentError if there isn't a current file.
1172
- #
1173
- # ARGF.fileno #=> 3
1174
- #
1175
- %a{annotate:rdoc:copy:ARGF#to_i}
1176
- def to_i: () -> Integer
1177
-
1178
- # <!--
1179
- # rdoc-file=io.c
1180
- # - ARGF.to_io -> IO
1181
- # -->
1182
- # Returns an IO object representing the current file. This will be a File object
1183
- # unless the current file is a stream such as STDIN.
1184
- #
1185
- # For example:
1186
- #
1187
- # ARGF.to_io #=> #<File:glark.txt>
1188
- # ARGF.to_io #=> #<IO:<STDIN>>
1189
- #
1190
- %a{annotate:rdoc:copy:ARGF#to_io}
1191
- def to_io: () -> IO
1192
-
1193
- # <!--
1194
- # rdoc-file=io.c
1195
- # - ARGF.to_s -> String
1196
- # -->
1197
- # Returns "ARGF".
1198
- #
1199
- %a{annotate:rdoc:copy:ARGF#to_s}
1200
- def to_s: () -> String
1201
-
1202
- # <!--
1203
- # rdoc-file=io.c
1204
- # - ARGF.to_write_io -> io
1205
- # -->
1206
- # Returns IO instance tied to *ARGF* for writing if inplace mode is enabled.
1207
- #
1208
- %a{annotate:rdoc:copy:ARGF#to_write_io}
1209
- def to_write_io: () -> IO
1210
-
1211
- # <!--
1212
- # rdoc-file=io.c
1213
- # - ARGF.write(*objects) -> integer
1214
- # -->
1215
- # Writes each of the given `objects` if inplace mode.
1216
- #
1217
- %a{annotate:rdoc:copy:ARGF#write}
1218
- def write: (_ToS string) -> Integer
1219
-
1220
- private
1221
-
1222
- %a{annotate:rdoc:copy:ARGF#initialize}
1223
- def initialize: (*String argv) -> void
1224
-
1225
- %a{annotate:rdoc:copy:ARGF#initialize_copy}
1226
- def initialize_copy: (self orig) -> self
1227
- end
1228
- end
1229
- end