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

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 (1832) hide show
  1. package/PRESTAGE.md +38 -6
  2. package/bin/ruby +1 -0
  3. package/bin/ruby.wasm +0 -0
  4. package/lib/ruby/3.4.0/socket.rb +1790 -0
  5. package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +5 -5
  6. package/lib/ruby/3.4.11/English.gemspec +22 -0
  7. package/lib/ruby/3.4.11/English.rb +164 -0
  8. package/lib/ruby/3.4.11/benchmark.gemspec +32 -0
  9. package/lib/ruby/3.4.11/benchmark.rb +594 -0
  10. package/lib/ruby/3.4.11/bundled_gems.rb +248 -0
  11. package/lib/ruby/3.4.11/bundler/.document +1 -0
  12. package/lib/ruby/3.4.11/bundler/build_metadata.rb +43 -0
  13. package/lib/ruby/3.4.11/bundler/bundler.gemspec +45 -0
  14. package/lib/ruby/3.4.11/bundler/capistrano.rb +22 -0
  15. package/lib/ruby/3.4.11/bundler/checksum.rb +264 -0
  16. package/lib/ruby/3.4.11/bundler/ci_detector.rb +75 -0
  17. package/lib/ruby/3.4.11/bundler/cli/add.rb +49 -0
  18. package/lib/ruby/3.4.11/bundler/cli/binstubs.rb +57 -0
  19. package/lib/ruby/3.4.11/bundler/cli/cache.rb +43 -0
  20. package/lib/ruby/3.4.11/bundler/cli/check.rb +40 -0
  21. package/lib/ruby/3.4.11/bundler/cli/clean.rb +25 -0
  22. package/lib/ruby/3.4.11/bundler/cli/common.rb +138 -0
  23. package/lib/ruby/3.4.11/bundler/cli/config.rb +204 -0
  24. package/lib/ruby/3.4.11/bundler/cli/console.rb +42 -0
  25. package/lib/ruby/3.4.11/bundler/cli/doctor/diagnose.rb +167 -0
  26. package/lib/ruby/3.4.11/bundler/cli/doctor/ssl.rb +249 -0
  27. package/lib/ruby/3.4.11/bundler/cli/doctor.rb +33 -0
  28. package/lib/ruby/3.4.11/bundler/cli/exec.rb +89 -0
  29. package/lib/ruby/3.4.11/bundler/cli/fund.rb +36 -0
  30. package/lib/ruby/3.4.11/bundler/cli/gem.rb +467 -0
  31. package/lib/ruby/3.4.11/bundler/cli/info.rb +83 -0
  32. package/lib/ruby/3.4.11/bundler/cli/init.rb +51 -0
  33. package/lib/ruby/3.4.11/bundler/cli/inject.rb +60 -0
  34. package/lib/ruby/3.4.11/bundler/cli/install.rb +199 -0
  35. package/lib/ruby/3.4.11/bundler/cli/issue.rb +41 -0
  36. package/lib/ruby/3.4.11/bundler/cli/list.rb +66 -0
  37. package/lib/ruby/3.4.11/bundler/cli/lock.rb +94 -0
  38. package/lib/ruby/3.4.11/bundler/cli/open.rb +29 -0
  39. package/lib/ruby/3.4.11/bundler/cli/outdated.rb +297 -0
  40. package/lib/ruby/3.4.11/bundler/cli/platform.rb +48 -0
  41. package/lib/ruby/3.4.11/bundler/cli/plugin.rb +35 -0
  42. package/lib/ruby/3.4.11/bundler/cli/pristine.rb +60 -0
  43. package/lib/ruby/3.4.11/bundler/cli/remove.rb +17 -0
  44. package/lib/ruby/3.4.11/bundler/cli/show.rb +75 -0
  45. package/lib/ruby/3.4.11/bundler/cli/update.rb +123 -0
  46. package/lib/ruby/3.4.11/bundler/cli/viz.rb +31 -0
  47. package/lib/ruby/3.4.11/bundler/cli.rb +790 -0
  48. package/lib/ruby/3.4.11/bundler/compact_index_client/cache.rb +96 -0
  49. package/lib/ruby/3.4.11/bundler/compact_index_client/cache_file.rb +148 -0
  50. package/lib/ruby/3.4.11/bundler/compact_index_client/parser.rb +84 -0
  51. package/lib/ruby/3.4.11/bundler/compact_index_client/updater.rb +105 -0
  52. package/lib/ruby/3.4.11/bundler/compact_index_client.rb +97 -0
  53. package/lib/ruby/3.4.11/bundler/constants.rb +14 -0
  54. package/lib/ruby/3.4.11/bundler/current_ruby.rb +82 -0
  55. package/lib/ruby/3.4.11/bundler/definition.rb +1187 -0
  56. package/lib/ruby/3.4.11/bundler/dependency.rb +151 -0
  57. package/lib/ruby/3.4.11/bundler/deployment.rb +69 -0
  58. package/lib/ruby/3.4.11/bundler/deprecate.rb +44 -0
  59. package/lib/ruby/3.4.11/bundler/digest.rb +71 -0
  60. package/lib/ruby/3.4.11/bundler/dsl.rb +638 -0
  61. package/lib/ruby/3.4.11/bundler/endpoint_specification.rb +174 -0
  62. package/lib/ruby/3.4.11/bundler/env.rb +148 -0
  63. package/lib/ruby/3.4.11/bundler/environment_preserver.rb +68 -0
  64. package/lib/ruby/3.4.11/bundler/errors.rb +281 -0
  65. package/lib/ruby/3.4.11/bundler/feature_flag.rb +50 -0
  66. package/lib/ruby/3.4.11/bundler/fetcher/base.rb +52 -0
  67. package/lib/ruby/3.4.11/bundler/fetcher/compact_index.rb +120 -0
  68. package/lib/ruby/3.4.11/bundler/fetcher/dependency.rb +78 -0
  69. package/lib/ruby/3.4.11/bundler/fetcher/downloader.rb +91 -0
  70. package/lib/ruby/3.4.11/bundler/fetcher/gem_remote_fetcher.rb +16 -0
  71. package/lib/ruby/3.4.11/bundler/fetcher/index.rb +25 -0
  72. package/lib/ruby/3.4.11/bundler/fetcher.rb +331 -0
  73. package/lib/ruby/3.4.11/bundler/force_platform.rb +16 -0
  74. package/lib/ruby/3.4.11/bundler/friendly_errors.rb +126 -0
  75. package/lib/ruby/3.4.11/bundler/gem_helper.rb +237 -0
  76. package/lib/ruby/3.4.11/bundler/gem_helpers.rb +144 -0
  77. package/lib/ruby/3.4.11/bundler/gem_tasks.rb +7 -0
  78. package/lib/ruby/3.4.11/bundler/gem_version_promoter.rb +147 -0
  79. package/lib/ruby/3.4.11/bundler/graph.rb +152 -0
  80. package/lib/ruby/3.4.11/bundler/index.rb +205 -0
  81. package/lib/ruby/3.4.11/bundler/injector.rb +285 -0
  82. package/lib/ruby/3.4.11/bundler/inline.rb +98 -0
  83. package/lib/ruby/3.4.11/bundler/installer/gem_installer.rb +85 -0
  84. package/lib/ruby/3.4.11/bundler/installer/parallel_installer.rb +203 -0
  85. package/lib/ruby/3.4.11/bundler/installer/standalone.rb +113 -0
  86. package/lib/ruby/3.4.11/bundler/installer.rb +243 -0
  87. package/lib/ruby/3.4.11/bundler/lazy_specification.rb +243 -0
  88. package/lib/ruby/3.4.11/bundler/lockfile_generator.rb +104 -0
  89. package/lib/ruby/3.4.11/bundler/lockfile_parser.rb +300 -0
  90. package/lib/ruby/3.4.11/bundler/man/.document +1 -0
  91. package/lib/ruby/3.4.11/bundler/man/bundle-add.1 +76 -0
  92. package/lib/ruby/3.4.11/bundler/man/bundle-add.1.ronn +87 -0
  93. package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1 +33 -0
  94. package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1.ronn +44 -0
  95. package/lib/ruby/3.4.11/bundler/man/bundle-cache.1 +68 -0
  96. package/lib/ruby/3.4.11/bundler/man/bundle-cache.1.ronn +108 -0
  97. package/lib/ruby/3.4.11/bundler/man/bundle-check.1 +24 -0
  98. package/lib/ruby/3.4.11/bundler/man/bundle-check.1.ronn +31 -0
  99. package/lib/ruby/3.4.11/bundler/man/bundle-clean.1 +17 -0
  100. package/lib/ruby/3.4.11/bundler/man/bundle-clean.1.ronn +18 -0
  101. package/lib/ruby/3.4.11/bundler/man/bundle-config.1 +317 -0
  102. package/lib/ruby/3.4.11/bundler/man/bundle-config.1.ronn +408 -0
  103. package/lib/ruby/3.4.11/bundler/man/bundle-console.1 +33 -0
  104. package/lib/ruby/3.4.11/bundler/man/bundle-console.1.ronn +39 -0
  105. package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1 +30 -0
  106. package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1.ronn +33 -0
  107. package/lib/ruby/3.4.11/bundler/man/bundle-env.1 +9 -0
  108. package/lib/ruby/3.4.11/bundler/man/bundle-env.1.ronn +10 -0
  109. package/lib/ruby/3.4.11/bundler/man/bundle-exec.1 +107 -0
  110. package/lib/ruby/3.4.11/bundler/man/bundle-exec.1.ronn +154 -0
  111. package/lib/ruby/3.4.11/bundler/man/bundle-fund.1 +22 -0
  112. package/lib/ruby/3.4.11/bundler/man/bundle-fund.1.ronn +25 -0
  113. package/lib/ruby/3.4.11/bundler/man/bundle-gem.1 +87 -0
  114. package/lib/ruby/3.4.11/bundler/man/bundle-gem.1.ronn +149 -0
  115. package/lib/ruby/3.4.11/bundler/man/bundle-help.1 +9 -0
  116. package/lib/ruby/3.4.11/bundler/man/bundle-help.1.ronn +12 -0
  117. package/lib/ruby/3.4.11/bundler/man/bundle-info.1 +17 -0
  118. package/lib/ruby/3.4.11/bundler/man/bundle-info.1.ronn +21 -0
  119. package/lib/ruby/3.4.11/bundler/man/bundle-init.1 +20 -0
  120. package/lib/ruby/3.4.11/bundler/man/bundle-init.1.ronn +32 -0
  121. package/lib/ruby/3.4.11/bundler/man/bundle-inject.1 +31 -0
  122. package/lib/ruby/3.4.11/bundler/man/bundle-inject.1.ronn +32 -0
  123. package/lib/ruby/3.4.11/bundler/man/bundle-install.1 +218 -0
  124. package/lib/ruby/3.4.11/bundler/man/bundle-install.1.ronn +387 -0
  125. package/lib/ruby/3.4.11/bundler/man/bundle-issue.1 +45 -0
  126. package/lib/ruby/3.4.11/bundler/man/bundle-issue.1.ronn +37 -0
  127. package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1 +9 -0
  128. package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1.ronn +10 -0
  129. package/lib/ruby/3.4.11/bundler/man/bundle-list.1 +35 -0
  130. package/lib/ruby/3.4.11/bundler/man/bundle-list.1.ronn +36 -0
  131. package/lib/ruby/3.4.11/bundler/man/bundle-lock.1 +75 -0
  132. package/lib/ruby/3.4.11/bundler/man/bundle-lock.1.ronn +115 -0
  133. package/lib/ruby/3.4.11/bundler/man/bundle-open.1 +32 -0
  134. package/lib/ruby/3.4.11/bundler/man/bundle-open.1.ronn +28 -0
  135. package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1 +103 -0
  136. package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1.ronn +110 -0
  137. package/lib/ruby/3.4.11/bundler/man/bundle-platform.1 +49 -0
  138. package/lib/ruby/3.4.11/bundler/man/bundle-platform.1.ronn +49 -0
  139. package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1 +58 -0
  140. package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1.ronn +63 -0
  141. package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1 +23 -0
  142. package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1.ronn +34 -0
  143. package/lib/ruby/3.4.11/bundler/man/bundle-remove.1 +21 -0
  144. package/lib/ruby/3.4.11/bundler/man/bundle-remove.1.ronn +23 -0
  145. package/lib/ruby/3.4.11/bundler/man/bundle-show.1 +19 -0
  146. package/lib/ruby/3.4.11/bundler/man/bundle-show.1.ronn +25 -0
  147. package/lib/ruby/3.4.11/bundler/man/bundle-update.1 +281 -0
  148. package/lib/ruby/3.4.11/bundler/man/bundle-update.1.ronn +359 -0
  149. package/lib/ruby/3.4.11/bundler/man/bundle-version.1 +22 -0
  150. package/lib/ruby/3.4.11/bundler/man/bundle-version.1.ronn +24 -0
  151. package/lib/ruby/3.4.11/bundler/man/bundle-viz.1 +30 -0
  152. package/lib/ruby/3.4.11/bundler/man/bundle-viz.1.ronn +36 -0
  153. package/lib/ruby/3.4.11/bundler/man/bundle.1 +102 -0
  154. package/lib/ruby/3.4.11/bundler/man/bundle.1.ronn +116 -0
  155. package/lib/ruby/3.4.11/bundler/man/gemfile.5 +472 -0
  156. package/lib/ruby/3.4.11/bundler/man/gemfile.5.ronn +558 -0
  157. package/lib/ruby/3.4.11/bundler/man/index.txt +33 -0
  158. package/lib/ruby/3.4.11/bundler/match_metadata.rb +30 -0
  159. package/lib/ruby/3.4.11/bundler/match_platform.rb +23 -0
  160. package/lib/ruby/3.4.11/bundler/match_remote_metadata.rb +29 -0
  161. package/lib/ruby/3.4.11/bundler/materialization.rb +59 -0
  162. package/lib/ruby/3.4.11/bundler/mirror.rb +221 -0
  163. package/lib/ruby/3.4.11/bundler/plugin/api/source.rb +322 -0
  164. package/lib/ruby/3.4.11/bundler/plugin/api.rb +81 -0
  165. package/lib/ruby/3.4.11/bundler/plugin/dsl.rb +53 -0
  166. package/lib/ruby/3.4.11/bundler/plugin/events.rb +85 -0
  167. package/lib/ruby/3.4.11/bundler/plugin/index.rb +197 -0
  168. package/lib/ruby/3.4.11/bundler/plugin/installer/git.rb +34 -0
  169. package/lib/ruby/3.4.11/bundler/plugin/installer/path.rb +26 -0
  170. package/lib/ruby/3.4.11/bundler/plugin/installer/rubygems.rb +19 -0
  171. package/lib/ruby/3.4.11/bundler/plugin/installer.rb +132 -0
  172. package/lib/ruby/3.4.11/bundler/plugin/source_list.rb +31 -0
  173. package/lib/ruby/3.4.11/bundler/plugin.rb +378 -0
  174. package/lib/ruby/3.4.11/bundler/process_lock.rb +20 -0
  175. package/lib/ruby/3.4.11/bundler/remote_specification.rb +126 -0
  176. package/lib/ruby/3.4.11/bundler/resolver/base.rb +118 -0
  177. package/lib/ruby/3.4.11/bundler/resolver/candidate.rb +85 -0
  178. package/lib/ruby/3.4.11/bundler/resolver/incompatibility.rb +15 -0
  179. package/lib/ruby/3.4.11/bundler/resolver/package.rb +94 -0
  180. package/lib/ruby/3.4.11/bundler/resolver/root.rb +25 -0
  181. package/lib/ruby/3.4.11/bundler/resolver/spec_group.rb +74 -0
  182. package/lib/ruby/3.4.11/bundler/resolver/strategy.rb +40 -0
  183. package/lib/ruby/3.4.11/bundler/resolver.rb +526 -0
  184. package/lib/ruby/3.4.11/bundler/retry.rb +66 -0
  185. package/lib/ruby/3.4.11/bundler/ruby_dsl.rb +62 -0
  186. package/lib/ruby/3.4.11/bundler/ruby_version.rb +137 -0
  187. package/lib/ruby/3.4.11/bundler/rubygems_ext.rb +485 -0
  188. package/lib/ruby/3.4.11/bundler/rubygems_gem_installer.rb +172 -0
  189. package/lib/ruby/3.4.11/bundler/rubygems_integration.rb +455 -0
  190. package/lib/ruby/3.4.11/bundler/runtime.rb +320 -0
  191. package/lib/ruby/3.4.11/bundler/safe_marshal.rb +31 -0
  192. package/lib/ruby/3.4.11/bundler/self_manager.rb +206 -0
  193. package/lib/ruby/3.4.11/bundler/settings/validator.rb +102 -0
  194. package/lib/ruby/3.4.11/bundler/settings.rb +599 -0
  195. package/lib/ruby/3.4.11/bundler/setup.rb +39 -0
  196. package/lib/ruby/3.4.11/bundler/shared_helpers.rb +398 -0
  197. package/lib/ruby/3.4.11/bundler/similarity_detector.rb +63 -0
  198. package/lib/ruby/3.4.11/bundler/source/gemspec.rb +15 -0
  199. package/lib/ruby/3.4.11/bundler/source/git/git_proxy.rb +472 -0
  200. package/lib/ruby/3.4.11/bundler/source/git.rb +452 -0
  201. package/lib/ruby/3.4.11/bundler/source/metadata.rb +63 -0
  202. package/lib/ruby/3.4.11/bundler/source/path/installer.rb +53 -0
  203. package/lib/ruby/3.4.11/bundler/source/path.rb +250 -0
  204. package/lib/ruby/3.4.11/bundler/source/rubygems/remote.rb +76 -0
  205. package/lib/ruby/3.4.11/bundler/source/rubygems.rb +522 -0
  206. package/lib/ruby/3.4.11/bundler/source/rubygems_aggregate.rb +68 -0
  207. package/lib/ruby/3.4.11/bundler/source.rb +118 -0
  208. package/lib/ruby/3.4.11/bundler/source_list.rb +273 -0
  209. package/lib/ruby/3.4.11/bundler/source_map.rb +71 -0
  210. package/lib/ruby/3.4.11/bundler/spec_set.rb +395 -0
  211. package/lib/ruby/3.4.11/bundler/stub_specification.rb +146 -0
  212. package/lib/ruby/3.4.11/bundler/templates/.document +1 -0
  213. package/lib/ruby/3.4.11/bundler/templates/Executable +27 -0
  214. package/lib/ruby/3.4.11/bundler/templates/Executable.bundler +109 -0
  215. package/lib/ruby/3.4.11/bundler/templates/Executable.standalone +14 -0
  216. package/lib/ruby/3.4.11/bundler/templates/Gemfile +5 -0
  217. package/lib/ruby/3.4.11/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
  218. package/lib/ruby/3.4.11/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +132 -0
  219. package/lib/ruby/3.4.11/bundler/templates/newgem/Cargo.toml.tt +7 -0
  220. package/lib/ruby/3.4.11/bundler/templates/newgem/Gemfile.tt +24 -0
  221. package/lib/ruby/3.4.11/bundler/templates/newgem/LICENSE.txt.tt +21 -0
  222. package/lib/ruby/3.4.11/bundler/templates/newgem/README.md.tt +49 -0
  223. package/lib/ruby/3.4.11/bundler/templates/newgem/Rakefile.tt +67 -0
  224. package/lib/ruby/3.4.11/bundler/templates/newgem/bin/console.tt +11 -0
  225. package/lib/ruby/{gems/3.4.0/gems/nkf-0.2.0/bin/setup → 3.4.11/bundler/templates/newgem/bin/setup.tt} +0 -0
  226. package/lib/ruby/3.4.11/bundler/templates/newgem/circleci/config.yml.tt +25 -0
  227. package/lib/ruby/3.4.11/bundler/templates/newgem/exe/newgem.tt +3 -0
  228. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
  229. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
  230. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
  231. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
  232. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
  233. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
  234. package/lib/ruby/3.4.11/bundler/templates/newgem/github/workflows/main.yml.tt +37 -0
  235. package/lib/ruby/3.4.11/bundler/templates/newgem/gitignore.tt +23 -0
  236. package/lib/ruby/3.4.11/bundler/templates/newgem/gitlab-ci.yml.tt +18 -0
  237. package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
  238. package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
  239. package/lib/ruby/3.4.11/bundler/templates/newgem/newgem.gemspec.tt +52 -0
  240. package/lib/ruby/3.4.11/bundler/templates/newgem/rspec.tt +3 -0
  241. package/lib/ruby/3.4.11/bundler/templates/newgem/rubocop.yml.tt +8 -0
  242. package/lib/ruby/3.4.11/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  243. package/lib/ruby/3.4.11/bundler/templates/newgem/spec/newgem_spec.rb.tt +11 -0
  244. package/lib/ruby/3.4.11/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
  245. package/lib/ruby/3.4.11/bundler/templates/newgem/standard.yml.tt +3 -0
  246. package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
  247. package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +13 -0
  248. package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
  249. package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
  250. package/lib/ruby/3.4.11/bundler/ui/rg_proxy.rb +19 -0
  251. package/lib/ruby/3.4.11/bundler/ui/shell.rb +187 -0
  252. package/lib/ruby/3.4.11/bundler/ui/silent.rb +96 -0
  253. package/lib/ruby/3.4.11/bundler/ui.rb +9 -0
  254. package/lib/ruby/3.4.11/bundler/uri_credentials_filter.rb +43 -0
  255. package/lib/ruby/3.4.11/bundler/uri_normalizer.rb +23 -0
  256. package/lib/ruby/3.4.11/bundler/vendor/.document +1 -0
  257. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/.document +1 -0
  258. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +224 -0
  259. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
  260. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
  261. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool.rb +186 -0
  262. package/lib/ruby/3.4.11/bundler/vendor/fileutils/.document +1 -0
  263. package/lib/ruby/3.4.11/bundler/vendor/fileutils/lib/fileutils.rb +2696 -0
  264. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/.document +1 -0
  265. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +41 -0
  266. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +65 -0
  267. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
  268. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1111 -0
  269. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/.document +1 -0
  270. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
  271. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +169 -0
  272. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
  273. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
  274. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
  275. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
  276. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
  277. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
  278. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +61 -0
  279. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +42 -0
  280. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
  281. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
  282. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
  283. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +423 -0
  284. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +236 -0
  285. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
  286. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
  287. package/lib/ruby/3.4.11/bundler/vendor/securerandom/.document +1 -0
  288. package/lib/ruby/3.4.11/bundler/vendor/securerandom/lib/securerandom.rb +102 -0
  289. package/lib/ruby/3.4.11/bundler/vendor/thor/.document +1 -0
  290. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_file.rb +105 -0
  291. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
  292. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
  293. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
  294. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +371 -0
  295. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +130 -0
  296. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions.rb +340 -0
  297. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/base.rb +825 -0
  298. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/command.rb +151 -0
  299. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +107 -0
  300. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/error.rb +106 -0
  301. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/group.rb +292 -0
  302. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
  303. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
  304. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
  305. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
  306. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
  307. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/argument.rb +86 -0
  308. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/arguments.rb +195 -0
  309. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/option.rb +178 -0
  310. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/options.rb +294 -0
  311. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser.rb +4 -0
  312. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
  313. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/runner.rb +335 -0
  314. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/basic.rb +388 -0
  315. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/color.rb +112 -0
  316. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/column_printer.rb +29 -0
  317. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/html.rb +81 -0
  318. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/table_printer.rb +118 -0
  319. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/terminal.rb +42 -0
  320. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +38 -0
  321. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell.rb +81 -0
  322. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/util.rb +285 -0
  323. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/version.rb +3 -0
  324. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor.rb +674 -0
  325. package/lib/ruby/3.4.11/bundler/vendor/tsort/.document +1 -0
  326. package/lib/ruby/3.4.11/bundler/vendor/tsort/lib/tsort.rb +455 -0
  327. package/lib/ruby/3.4.11/bundler/vendor/uri/.document +1 -0
  328. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/common.rb +880 -0
  329. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/file.rb +100 -0
  330. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
  331. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/generic.rb +1592 -0
  332. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/http.rb +125 -0
  333. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/https.rb +23 -0
  334. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
  335. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
  336. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
  337. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  338. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
  339. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/version.rb +6 -0
  340. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ws.rb +83 -0
  341. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/wss.rb +23 -0
  342. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri.rb +104 -0
  343. package/lib/ruby/3.4.11/bundler/vendored_fileutils.rb +4 -0
  344. package/lib/ruby/3.4.11/bundler/vendored_net_http.rb +23 -0
  345. package/lib/ruby/3.4.11/bundler/vendored_persistent.rb +11 -0
  346. package/lib/ruby/3.4.11/bundler/vendored_pub_grub.rb +4 -0
  347. package/lib/ruby/3.4.11/bundler/vendored_securerandom.rb +12 -0
  348. package/lib/ruby/3.4.11/bundler/vendored_thor.rb +8 -0
  349. package/lib/ruby/3.4.11/bundler/vendored_timeout.rb +12 -0
  350. package/lib/ruby/3.4.11/bundler/vendored_tsort.rb +4 -0
  351. package/lib/ruby/3.4.11/bundler/vendored_uri.rb +21 -0
  352. package/lib/ruby/3.4.11/bundler/version.rb +13 -0
  353. package/lib/ruby/3.4.11/bundler/vlad.rb +17 -0
  354. package/lib/ruby/3.4.11/bundler/worker.rb +117 -0
  355. package/lib/ruby/3.4.11/bundler/yaml_serializer.rb +98 -0
  356. package/lib/ruby/3.4.11/bundler.rb +701 -0
  357. package/lib/ruby/3.4.11/cgi/cgi.gemspec +43 -0
  358. package/lib/ruby/3.4.11/cgi/cookie.rb +210 -0
  359. package/lib/ruby/3.4.11/cgi/core.rb +900 -0
  360. package/lib/ruby/3.4.11/cgi/html.rb +1035 -0
  361. package/lib/ruby/3.4.11/cgi/session/pstore.rb +91 -0
  362. package/lib/ruby/3.4.11/cgi/session.rb +562 -0
  363. package/lib/ruby/3.4.11/cgi/util.rb +258 -0
  364. package/lib/ruby/3.4.11/cgi.rb +297 -0
  365. package/lib/ruby/3.4.11/delegate.gemspec +29 -0
  366. package/lib/ruby/3.4.11/delegate.rb +444 -0
  367. package/lib/ruby/3.4.11/did_you_mean/core_ext/name_error.rb +57 -0
  368. package/lib/ruby/3.4.11/did_you_mean/did_you_mean.gemspec +25 -0
  369. package/lib/ruby/3.4.11/did_you_mean/experimental.rb +2 -0
  370. package/lib/ruby/3.4.11/did_you_mean/formatter.rb +44 -0
  371. package/lib/ruby/3.4.11/did_you_mean/formatters/plain_formatter.rb +4 -0
  372. package/lib/ruby/3.4.11/did_you_mean/formatters/verbose_formatter.rb +10 -0
  373. package/lib/ruby/3.4.11/did_you_mean/jaro_winkler.rb +84 -0
  374. package/lib/ruby/3.4.11/did_you_mean/levenshtein.rb +57 -0
  375. package/lib/ruby/3.4.11/did_you_mean/spell_checker.rb +46 -0
  376. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/key_error_checker.rb +28 -0
  377. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/method_name_checker.rb +79 -0
  378. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +49 -0
  379. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +85 -0
  380. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers.rb +20 -0
  381. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/null_checker.rb +6 -0
  382. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/pattern_key_name_checker.rb +28 -0
  383. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/require_path_checker.rb +39 -0
  384. package/lib/ruby/3.4.11/did_you_mean/tree_spell_checker.rb +109 -0
  385. package/lib/ruby/3.4.11/did_you_mean/verbose.rb +2 -0
  386. package/lib/ruby/3.4.11/did_you_mean/version.rb +3 -0
  387. package/lib/ruby/3.4.11/did_you_mean.rb +131 -0
  388. package/lib/ruby/3.4.11/erb/compiler.rb +472 -0
  389. package/lib/ruby/3.4.11/erb/def_method.rb +47 -0
  390. package/lib/ruby/3.4.11/erb/util.rb +63 -0
  391. package/lib/ruby/3.4.11/erb/version.rb +5 -0
  392. package/lib/ruby/3.4.11/erb.gemspec +38 -0
  393. package/lib/ruby/3.4.11/erb.rb +509 -0
  394. package/lib/ruby/3.4.11/error_highlight/base.rb +830 -0
  395. package/lib/ruby/3.4.11/error_highlight/core_ext.rb +47 -0
  396. package/lib/ruby/3.4.11/error_highlight/error_highlight.gemspec +27 -0
  397. package/lib/ruby/3.4.11/error_highlight/formatter.rb +74 -0
  398. package/lib/ruby/3.4.11/error_highlight/version.rb +3 -0
  399. package/lib/ruby/3.4.11/error_highlight.rb +2 -0
  400. package/lib/ruby/3.4.11/fileutils.gemspec +31 -0
  401. package/lib/ruby/3.4.11/fileutils.rb +2696 -0
  402. package/lib/ruby/3.4.11/find.gemspec +29 -0
  403. package/lib/ruby/3.4.11/find.rb +90 -0
  404. package/lib/ruby/3.4.11/forwardable/forwardable.gemspec +26 -0
  405. package/lib/ruby/3.4.11/forwardable/impl.rb +17 -0
  406. package/lib/ruby/3.4.11/forwardable.rb +321 -0
  407. package/lib/ruby/3.4.11/ipaddr.gemspec +36 -0
  408. package/lib/ruby/3.4.11/ipaddr.rb +841 -0
  409. package/lib/ruby/3.4.11/irb/cmd/nop.rb +4 -0
  410. package/lib/ruby/3.4.11/irb/color.rb +262 -0
  411. package/lib/ruby/3.4.11/irb/color_printer.rb +55 -0
  412. package/lib/ruby/3.4.11/irb/command/backtrace.rb +17 -0
  413. package/lib/ruby/3.4.11/irb/command/base.rb +60 -0
  414. package/lib/ruby/3.4.11/irb/command/break.rb +17 -0
  415. package/lib/ruby/3.4.11/irb/command/catch.rb +17 -0
  416. package/lib/ruby/3.4.11/irb/command/cd.rb +51 -0
  417. package/lib/ruby/3.4.11/irb/command/chws.rb +40 -0
  418. package/lib/ruby/3.4.11/irb/command/context.rb +16 -0
  419. package/lib/ruby/3.4.11/irb/command/continue.rb +17 -0
  420. package/lib/ruby/3.4.11/irb/command/debug.rb +73 -0
  421. package/lib/ruby/3.4.11/irb/command/delete.rb +17 -0
  422. package/lib/ruby/3.4.11/irb/command/disable_irb.rb +19 -0
  423. package/lib/ruby/3.4.11/irb/command/edit.rb +63 -0
  424. package/lib/ruby/3.4.11/irb/command/exit.rb +18 -0
  425. package/lib/ruby/3.4.11/irb/command/finish.rb +17 -0
  426. package/lib/ruby/3.4.11/irb/command/force_exit.rb +18 -0
  427. package/lib/ruby/3.4.11/irb/command/help.rb +83 -0
  428. package/lib/ruby/3.4.11/irb/command/history.rb +45 -0
  429. package/lib/ruby/3.4.11/irb/command/info.rb +17 -0
  430. package/lib/ruby/3.4.11/irb/command/internal_helpers.rb +27 -0
  431. package/lib/ruby/3.4.11/irb/command/irb_info.rb +33 -0
  432. package/lib/ruby/3.4.11/irb/command/load.rb +91 -0
  433. package/lib/ruby/3.4.11/irb/command/ls.rb +167 -0
  434. package/lib/ruby/3.4.11/irb/command/measure.rb +49 -0
  435. package/lib/ruby/3.4.11/irb/command/next.rb +17 -0
  436. package/lib/ruby/3.4.11/irb/command/pushws.rb +65 -0
  437. package/lib/ruby/3.4.11/irb/command/show_doc.rb +51 -0
  438. package/lib/ruby/3.4.11/irb/command/show_source.rb +74 -0
  439. package/lib/ruby/3.4.11/irb/command/step.rb +17 -0
  440. package/lib/ruby/3.4.11/irb/command/subirb.rb +123 -0
  441. package/lib/ruby/3.4.11/irb/command/whereami.rb +23 -0
  442. package/lib/ruby/3.4.11/irb/command.rb +23 -0
  443. package/lib/ruby/3.4.11/irb/completion.rb +504 -0
  444. package/lib/ruby/3.4.11/irb/context.rb +716 -0
  445. package/lib/ruby/3.4.11/irb/debug/ui.rb +101 -0
  446. package/lib/ruby/3.4.11/irb/debug.rb +127 -0
  447. package/lib/ruby/3.4.11/irb/default_commands.rb +276 -0
  448. package/lib/ruby/3.4.11/irb/easter-egg.rb +152 -0
  449. package/lib/ruby/3.4.11/irb/ext/change-ws.rb +37 -0
  450. package/lib/ruby/3.4.11/irb/ext/eval_history.rb +149 -0
  451. package/lib/ruby/3.4.11/irb/ext/loader.rb +127 -0
  452. package/lib/ruby/3.4.11/irb/ext/multi-irb.rb +258 -0
  453. package/lib/ruby/3.4.11/irb/ext/tracer.rb +39 -0
  454. package/lib/ruby/3.4.11/irb/ext/use-loader.rb +67 -0
  455. package/lib/ruby/3.4.11/irb/ext/workspaces.rb +36 -0
  456. package/lib/ruby/3.4.11/irb/frame.rb +80 -0
  457. package/lib/ruby/3.4.11/irb/help.rb +28 -0
  458. package/lib/ruby/3.4.11/irb/helper_method/base.rb +16 -0
  459. package/lib/ruby/3.4.11/irb/helper_method/conf.rb +11 -0
  460. package/lib/ruby/3.4.11/irb/helper_method.rb +29 -0
  461. package/lib/ruby/3.4.11/irb/history.rb +112 -0
  462. package/lib/ruby/3.4.11/irb/init.rb +538 -0
  463. package/lib/ruby/3.4.11/irb/input-method.rb +515 -0
  464. package/lib/ruby/3.4.11/irb/inspector.rb +131 -0
  465. package/lib/ruby/3.4.11/irb/irb.gemspec +46 -0
  466. package/lib/ruby/3.4.11/irb/lc/error.rb +52 -0
  467. package/lib/ruby/3.4.11/irb/lc/help-message +55 -0
  468. package/lib/ruby/3.4.11/irb/lc/ja/error.rb +53 -0
  469. package/lib/ruby/3.4.11/irb/lc/ja/help-message +58 -0
  470. package/lib/ruby/3.4.11/irb/locale.rb +153 -0
  471. package/lib/ruby/3.4.11/irb/nesting_parser.rb +239 -0
  472. package/lib/ruby/3.4.11/irb/notifier.rb +230 -0
  473. package/lib/ruby/3.4.11/irb/output-method.rb +80 -0
  474. package/lib/ruby/3.4.11/irb/pager.rb +100 -0
  475. package/lib/ruby/3.4.11/irb/ruby-lex.rb +476 -0
  476. package/lib/ruby/3.4.11/irb/ruby_logo.aa +118 -0
  477. package/lib/ruby/3.4.11/irb/source_finder.rb +138 -0
  478. package/lib/ruby/3.4.11/irb/statement.rb +80 -0
  479. package/lib/ruby/3.4.11/irb/version.rb +11 -0
  480. package/lib/ruby/3.4.11/irb/workspace.rb +171 -0
  481. package/lib/ruby/3.4.11/irb/ws-for-case-2.rb +9 -0
  482. package/lib/ruby/3.4.11/irb/xmp.rb +164 -0
  483. package/lib/ruby/3.4.11/irb.rb +1593 -0
  484. package/lib/ruby/3.4.11/logger/errors.rb +9 -0
  485. package/lib/ruby/3.4.11/logger/formatter.rb +36 -0
  486. package/lib/ruby/3.4.11/logger/log_device.rb +236 -0
  487. package/lib/ruby/3.4.11/logger/logger.gemspec +22 -0
  488. package/lib/ruby/3.4.11/logger/period.rb +47 -0
  489. package/lib/ruby/3.4.11/logger/severity.rb +38 -0
  490. package/lib/ruby/3.4.11/logger/version.rb +5 -0
  491. package/lib/ruby/3.4.11/logger.rb +761 -0
  492. package/lib/ruby/3.4.11/mkmf.rb +3045 -0
  493. package/lib/ruby/3.4.11/net/http/exceptions.rb +34 -0
  494. package/lib/ruby/3.4.11/net/http/generic_request.rb +414 -0
  495. package/lib/ruby/3.4.11/net/http/header.rb +981 -0
  496. package/lib/ruby/3.4.11/net/http/net-http.gemspec +39 -0
  497. package/lib/ruby/3.4.11/net/http/proxy_delta.rb +17 -0
  498. package/lib/ruby/3.4.11/net/http/request.rb +88 -0
  499. package/lib/ruby/3.4.11/net/http/requests.rb +430 -0
  500. package/lib/ruby/3.4.11/net/http/response.rb +738 -0
  501. package/lib/ruby/3.4.11/net/http/responses.rb +1174 -0
  502. package/lib/ruby/3.4.11/net/http/status.rb +84 -0
  503. package/lib/ruby/3.4.11/net/http.rb +2574 -0
  504. package/lib/ruby/3.4.11/net/https.rb +23 -0
  505. package/lib/ruby/3.4.11/net/net-protocol.gemspec +34 -0
  506. package/lib/ruby/3.4.11/net/protocol.rb +544 -0
  507. package/lib/ruby/3.4.11/open-uri.gemspec +32 -0
  508. package/lib/ruby/3.4.11/open-uri.rb +895 -0
  509. package/lib/ruby/3.4.11/open3/open3.gemspec +33 -0
  510. package/lib/ruby/3.4.11/open3/version.rb +3 -0
  511. package/lib/ruby/3.4.11/open3.rb +1410 -0
  512. package/lib/ruby/3.4.11/optionparser.rb +2 -0
  513. package/lib/ruby/3.4.11/optparse/ac.rb +70 -0
  514. package/lib/ruby/3.4.11/optparse/date.rb +18 -0
  515. package/lib/ruby/3.4.11/optparse/kwargs.rb +27 -0
  516. package/lib/ruby/3.4.11/optparse/optparse.gemspec +31 -0
  517. package/lib/ruby/3.4.11/optparse/shellwords.rb +7 -0
  518. package/lib/ruby/3.4.11/optparse/time.rb +11 -0
  519. package/lib/ruby/3.4.11/optparse/uri.rb +7 -0
  520. package/lib/ruby/3.4.11/optparse/version.rb +80 -0
  521. package/lib/ruby/3.4.11/optparse.rb +2429 -0
  522. package/lib/ruby/3.4.11/ostruct.gemspec +24 -0
  523. package/lib/ruby/3.4.11/ostruct.rb +489 -0
  524. package/lib/ruby/3.4.11/pp.gemspec +35 -0
  525. package/lib/ruby/3.4.11/pp.rb +699 -0
  526. package/lib/ruby/3.4.11/prettyprint.gemspec +29 -0
  527. package/lib/ruby/3.4.11/prettyprint.rb +558 -0
  528. package/lib/ruby/3.4.11/prism/compiler.rb +801 -0
  529. package/lib/ruby/3.4.11/prism/desugar_compiler.rb +392 -0
  530. package/lib/ruby/3.4.11/prism/dispatcher.rb +2210 -0
  531. package/lib/ruby/3.4.11/prism/dsl.rb +1003 -0
  532. package/lib/ruby/3.4.11/prism/ffi.rb +570 -0
  533. package/lib/ruby/3.4.11/prism/inspect_visitor.rb +2392 -0
  534. package/lib/ruby/3.4.11/prism/lex_compat.rb +928 -0
  535. package/lib/ruby/3.4.11/prism/mutation_compiler.rb +772 -0
  536. package/lib/ruby/3.4.11/prism/node.rb +18816 -0
  537. package/lib/ruby/3.4.11/prism/node_ext.rb +511 -0
  538. package/lib/ruby/3.4.11/prism/pack.rb +230 -0
  539. package/lib/ruby/3.4.11/prism/parse_result/comments.rb +188 -0
  540. package/lib/ruby/3.4.11/prism/parse_result/errors.rb +66 -0
  541. package/lib/ruby/3.4.11/prism/parse_result/newlines.rb +155 -0
  542. package/lib/ruby/3.4.11/prism/parse_result.rb +911 -0
  543. package/lib/ruby/3.4.11/prism/pattern.rb +269 -0
  544. package/lib/ruby/3.4.11/prism/polyfill/append_as_bytes.rb +15 -0
  545. package/lib/ruby/3.4.11/prism/polyfill/byteindex.rb +13 -0
  546. package/lib/ruby/3.4.11/prism/polyfill/scan_byte.rb +14 -0
  547. package/lib/ruby/3.4.11/prism/polyfill/unpack1.rb +14 -0
  548. package/lib/ruby/3.4.11/prism/polyfill/warn.rb +36 -0
  549. package/lib/ruby/3.4.11/prism/prism.gemspec +174 -0
  550. package/lib/ruby/3.4.11/prism/reflection.rb +416 -0
  551. package/lib/ruby/3.4.11/prism/relocation.rb +505 -0
  552. package/lib/ruby/3.4.11/prism/serialize.rb +2400 -0
  553. package/lib/ruby/3.4.11/prism/string_query.rb +31 -0
  554. package/lib/ruby/3.4.11/prism/translation/parser/builder.rb +62 -0
  555. package/lib/ruby/3.4.11/prism/translation/parser/compiler.rb +2234 -0
  556. package/lib/ruby/3.4.11/prism/translation/parser/lexer.rb +820 -0
  557. package/lib/ruby/3.4.11/prism/translation/parser.rb +374 -0
  558. package/lib/ruby/3.4.11/prism/translation/parser33.rb +13 -0
  559. package/lib/ruby/3.4.11/prism/translation/parser34.rb +13 -0
  560. package/lib/ruby/3.4.11/prism/translation/parser35.rb +13 -0
  561. package/lib/ruby/3.4.11/prism/translation/parser_current.rb +24 -0
  562. package/lib/ruby/3.4.11/prism/translation/ripper/sexp.rb +126 -0
  563. package/lib/ruby/3.4.11/prism/translation/ripper/shim.rb +5 -0
  564. package/lib/ruby/3.4.11/prism/translation/ripper.rb +3474 -0
  565. package/lib/ruby/3.4.11/prism/translation/ruby_parser.rb +1929 -0
  566. package/lib/ruby/3.4.11/prism/translation.rb +16 -0
  567. package/lib/ruby/3.4.11/prism/visitor.rb +813 -0
  568. package/lib/ruby/3.4.11/prism.rb +91 -0
  569. package/lib/ruby/3.4.11/pstore.gemspec +32 -0
  570. package/lib/ruby/3.4.11/pstore.rb +736 -0
  571. package/lib/ruby/3.4.11/random/formatter.rb +372 -0
  572. package/lib/ruby/3.4.11/rdoc/.document +2 -0
  573. package/lib/ruby/3.4.11/rdoc/code_object/alias.rb +104 -0
  574. package/lib/ruby/3.4.11/rdoc/code_object/anon_class.rb +10 -0
  575. package/lib/ruby/3.4.11/rdoc/code_object/any_method.rb +374 -0
  576. package/lib/ruby/3.4.11/rdoc/code_object/attr.rb +172 -0
  577. package/lib/ruby/3.4.11/rdoc/code_object/class_module.rb +888 -0
  578. package/lib/ruby/3.4.11/rdoc/code_object/constant.rb +186 -0
  579. package/lib/ruby/3.4.11/rdoc/code_object/context/section.rb +175 -0
  580. package/lib/ruby/3.4.11/rdoc/code_object/context.rb +1222 -0
  581. package/lib/ruby/3.4.11/rdoc/code_object/extend.rb +9 -0
  582. package/lib/ruby/3.4.11/rdoc/code_object/ghost_method.rb +6 -0
  583. package/lib/ruby/3.4.11/rdoc/code_object/include.rb +9 -0
  584. package/lib/ruby/3.4.11/rdoc/code_object/meta_method.rb +6 -0
  585. package/lib/ruby/3.4.11/rdoc/code_object/method_attr.rb +410 -0
  586. package/lib/ruby/3.4.11/rdoc/code_object/mixin.rb +120 -0
  587. package/lib/ruby/3.4.11/rdoc/code_object/normal_class.rb +92 -0
  588. package/lib/ruby/3.4.11/rdoc/code_object/normal_module.rb +73 -0
  589. package/lib/ruby/3.4.11/rdoc/code_object/require.rb +51 -0
  590. package/lib/ruby/3.4.11/rdoc/code_object/single_class.rb +30 -0
  591. package/lib/ruby/3.4.11/rdoc/code_object/top_level.rb +273 -0
  592. package/lib/ruby/3.4.11/rdoc/code_object.rb +395 -0
  593. package/lib/ruby/3.4.11/rdoc/code_objects.rb +5 -0
  594. package/lib/ruby/3.4.11/rdoc/comment.rb +236 -0
  595. package/lib/ruby/3.4.11/rdoc/cross_reference.rb +228 -0
  596. package/lib/ruby/3.4.11/rdoc/encoding.rb +120 -0
  597. package/lib/ruby/3.4.11/rdoc/erb_partial.rb +18 -0
  598. package/lib/ruby/3.4.11/rdoc/erbio.rb +37 -0
  599. package/lib/ruby/3.4.11/rdoc/generator/darkfish.rb +812 -0
  600. package/lib/ruby/3.4.11/rdoc/generator/json_index.rb +284 -0
  601. package/lib/ruby/3.4.11/rdoc/generator/markup.rb +171 -0
  602. package/lib/ruby/3.4.11/rdoc/generator/pot/message_extractor.rb +68 -0
  603. package/lib/ruby/3.4.11/rdoc/generator/pot/po.rb +84 -0
  604. package/lib/ruby/3.4.11/rdoc/generator/pot/po_entry.rb +141 -0
  605. package/lib/ruby/3.4.11/rdoc/generator/pot.rb +94 -0
  606. package/lib/ruby/3.4.11/rdoc/generator/ri.rb +30 -0
  607. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/.document +0 -0
  608. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
  609. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_head.rhtml +48 -0
  610. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +5 -0
  611. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
  612. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
  613. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
  614. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +21 -0
  615. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
  616. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +32 -0
  617. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +6 -0
  618. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
  619. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
  620. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +39 -0
  621. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +3 -0
  622. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/class.rhtml +221 -0
  623. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/fonts.css +167 -0
  624. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/rdoc.css +683 -0
  625. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
  626. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
  627. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
  628. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
  629. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
  630. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
  631. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/add.png +0 -0
  632. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
  633. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick.png +0 -0
  634. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  635. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bug.png +0 -0
  636. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  637. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  638. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  639. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/date.png +0 -0
  640. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/delete.png +0 -0
  641. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/find.png +0 -0
  642. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  643. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  644. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/package.png +0 -0
  645. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  646. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  647. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  648. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  649. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  650. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  651. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  652. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  653. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  654. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  655. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  656. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/index.rhtml +23 -0
  657. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/darkfish.js +120 -0
  658. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/search.js +110 -0
  659. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/page.rhtml +18 -0
  660. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_not_found.rhtml +20 -0
  661. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_root.rhtml +65 -0
  662. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/table_of_contents.rhtml +70 -0
  663. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/.document +1 -0
  664. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/navigation.js +105 -0
  665. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/searcher.js +229 -0
  666. package/lib/ruby/3.4.11/rdoc/generator.rb +51 -0
  667. package/lib/ruby/3.4.11/rdoc/i18n/locale.rb +102 -0
  668. package/lib/ruby/3.4.11/rdoc/i18n/text.rb +126 -0
  669. package/lib/ruby/3.4.11/rdoc/i18n.rb +10 -0
  670. package/lib/ruby/3.4.11/rdoc/known_classes.rb +74 -0
  671. package/lib/ruby/3.4.11/rdoc/markdown/.document +1 -0
  672. package/lib/ruby/3.4.11/rdoc/markdown/entities.rb +2131 -0
  673. package/lib/ruby/3.4.11/rdoc/markdown/literals.rb +454 -0
  674. package/lib/ruby/3.4.11/rdoc/markdown.rb +16806 -0
  675. package/lib/ruby/3.4.11/rdoc/markup/attr_changer.rb +22 -0
  676. package/lib/ruby/3.4.11/rdoc/markup/attr_span.rb +35 -0
  677. package/lib/ruby/3.4.11/rdoc/markup/attribute_manager.rb +405 -0
  678. package/lib/ruby/3.4.11/rdoc/markup/attributes.rb +70 -0
  679. package/lib/ruby/3.4.11/rdoc/markup/blank_line.rb +27 -0
  680. package/lib/ruby/3.4.11/rdoc/markup/block_quote.rb +14 -0
  681. package/lib/ruby/3.4.11/rdoc/markup/document.rb +164 -0
  682. package/lib/ruby/3.4.11/rdoc/markup/formatter.rb +272 -0
  683. package/lib/ruby/3.4.11/rdoc/markup/hard_break.rb +31 -0
  684. package/lib/ruby/3.4.11/rdoc/markup/heading.rb +84 -0
  685. package/lib/ruby/3.4.11/rdoc/markup/include.rb +42 -0
  686. package/lib/ruby/3.4.11/rdoc/markup/indented_paragraph.rb +47 -0
  687. package/lib/ruby/3.4.11/rdoc/markup/list.rb +101 -0
  688. package/lib/ruby/3.4.11/rdoc/markup/list_item.rb +99 -0
  689. package/lib/ruby/3.4.11/rdoc/markup/paragraph.rb +28 -0
  690. package/lib/ruby/3.4.11/rdoc/markup/parser.rb +585 -0
  691. package/lib/ruby/3.4.11/rdoc/markup/pre_process.rb +318 -0
  692. package/lib/ruby/3.4.11/rdoc/markup/raw.rb +69 -0
  693. package/lib/ruby/3.4.11/rdoc/markup/regexp_handling.rb +40 -0
  694. package/lib/ruby/3.4.11/rdoc/markup/rule.rb +20 -0
  695. package/lib/ruby/3.4.11/rdoc/markup/table.rb +56 -0
  696. package/lib/ruby/3.4.11/rdoc/markup/to_ansi.rb +93 -0
  697. package/lib/ruby/3.4.11/rdoc/markup/to_bs.rb +102 -0
  698. package/lib/ruby/3.4.11/rdoc/markup/to_html.rb +462 -0
  699. package/lib/ruby/3.4.11/rdoc/markup/to_html_crossref.rb +226 -0
  700. package/lib/ruby/3.4.11/rdoc/markup/to_html_snippet.rb +287 -0
  701. package/lib/ruby/3.4.11/rdoc/markup/to_joined_paragraph.rb +46 -0
  702. package/lib/ruby/3.4.11/rdoc/markup/to_label.rb +74 -0
  703. package/lib/ruby/3.4.11/rdoc/markup/to_markdown.rb +191 -0
  704. package/lib/ruby/3.4.11/rdoc/markup/to_rdoc.rb +353 -0
  705. package/lib/ruby/3.4.11/rdoc/markup/to_table_of_contents.rb +88 -0
  706. package/lib/ruby/3.4.11/rdoc/markup/to_test.rb +69 -0
  707. package/lib/ruby/3.4.11/rdoc/markup/to_tt_only.rb +120 -0
  708. package/lib/ruby/3.4.11/rdoc/markup/verbatim.rb +83 -0
  709. package/lib/ruby/3.4.11/rdoc/markup.rb +240 -0
  710. package/lib/ruby/3.4.11/rdoc/options.rb +1416 -0
  711. package/lib/ruby/3.4.11/rdoc/parser/c.rb +1257 -0
  712. package/lib/ruby/3.4.11/rdoc/parser/changelog.rb +350 -0
  713. package/lib/ruby/3.4.11/rdoc/parser/markdown.rb +22 -0
  714. package/lib/ruby/3.4.11/rdoc/parser/prism_ruby.rb +1092 -0
  715. package/lib/ruby/3.4.11/rdoc/parser/rd.rb +22 -0
  716. package/lib/ruby/3.4.11/rdoc/parser/ripper_state_lex.rb +302 -0
  717. package/lib/ruby/3.4.11/rdoc/parser/ruby.rb +2378 -0
  718. package/lib/ruby/3.4.11/rdoc/parser/ruby_tools.rb +165 -0
  719. package/lib/ruby/3.4.11/rdoc/parser/simple.rb +61 -0
  720. package/lib/ruby/3.4.11/rdoc/parser/text.rb +11 -0
  721. package/lib/ruby/3.4.11/rdoc/parser.rb +297 -0
  722. package/lib/ruby/3.4.11/rdoc/rd/.document +1 -0
  723. package/lib/ruby/3.4.11/rdoc/rd/block_parser.rb +1706 -0
  724. package/lib/ruby/3.4.11/rdoc/rd/inline.rb +71 -0
  725. package/lib/ruby/3.4.11/rdoc/rd/inline_parser.rb +1854 -0
  726. package/lib/ruby/3.4.11/rdoc/rd.rb +99 -0
  727. package/lib/ruby/3.4.11/rdoc/rdoc.gemspec +68 -0
  728. package/lib/ruby/3.4.11/rdoc/rdoc.rb +551 -0
  729. package/lib/ruby/3.4.11/rdoc/ri/driver.rb +1566 -0
  730. package/lib/ruby/3.4.11/rdoc/ri/formatter.rb +6 -0
  731. package/lib/ruby/3.4.11/rdoc/ri/paths.rb +171 -0
  732. package/lib/ruby/3.4.11/rdoc/ri/store.rb +6 -0
  733. package/lib/ruby/3.4.11/rdoc/ri/task.rb +71 -0
  734. package/lib/ruby/3.4.11/rdoc/ri.rb +20 -0
  735. package/lib/ruby/3.4.11/rdoc/rubygems_hook.rb +327 -0
  736. package/lib/ruby/3.4.11/rdoc/servlet.rb +452 -0
  737. package/lib/ruby/3.4.11/rdoc/stats/normal.rb +58 -0
  738. package/lib/ruby/3.4.11/rdoc/stats/quiet.rb +59 -0
  739. package/lib/ruby/3.4.11/rdoc/stats/verbose.rb +44 -0
  740. package/lib/ruby/3.4.11/rdoc/stats.rb +461 -0
  741. package/lib/ruby/3.4.11/rdoc/store.rb +997 -0
  742. package/lib/ruby/3.4.11/rdoc/task.rb +354 -0
  743. package/lib/ruby/3.4.11/rdoc/text.rb +322 -0
  744. package/lib/ruby/3.4.11/rdoc/token_stream.rb +118 -0
  745. package/lib/ruby/3.4.11/rdoc/tom_doc.rb +257 -0
  746. package/lib/ruby/3.4.11/rdoc/version.rb +10 -0
  747. package/lib/ruby/3.4.11/rdoc.rb +211 -0
  748. package/lib/ruby/3.4.11/readline.gemspec +33 -0
  749. package/lib/ruby/3.4.11/readline.rb +7 -0
  750. package/lib/ruby/3.4.11/reline/config.rb +373 -0
  751. package/lib/ruby/3.4.11/reline/face.rb +199 -0
  752. package/lib/ruby/3.4.11/reline/history.rb +76 -0
  753. package/lib/ruby/3.4.11/reline/io/ansi.rb +325 -0
  754. package/lib/ruby/3.4.11/reline/io/dumb.rb +120 -0
  755. package/lib/ruby/3.4.11/reline/io/windows.rb +530 -0
  756. package/lib/ruby/3.4.11/reline/io.rb +55 -0
  757. package/lib/ruby/3.4.11/reline/key_actor/base.rb +37 -0
  758. package/lib/ruby/3.4.11/reline/key_actor/composite.rb +17 -0
  759. package/lib/ruby/3.4.11/reline/key_actor/emacs.rb +517 -0
  760. package/lib/ruby/3.4.11/reline/key_actor/vi_command.rb +518 -0
  761. package/lib/ruby/3.4.11/reline/key_actor/vi_insert.rb +517 -0
  762. package/lib/ruby/3.4.11/reline/key_actor.rb +8 -0
  763. package/lib/ruby/3.4.11/reline/key_stroke.rb +119 -0
  764. package/lib/ruby/3.4.11/reline/kill_ring.rb +125 -0
  765. package/lib/ruby/3.4.11/reline/line_editor.rb +2382 -0
  766. package/lib/ruby/3.4.11/reline/reline.gemspec +30 -0
  767. package/lib/ruby/3.4.11/reline/unicode/east_asian_width.rb +1267 -0
  768. package/lib/ruby/3.4.11/reline/unicode.rb +415 -0
  769. package/lib/ruby/3.4.11/reline/version.rb +3 -0
  770. package/lib/ruby/3.4.11/reline.rb +519 -0
  771. package/lib/ruby/3.4.11/resolv.gemspec +30 -0
  772. package/lib/ruby/3.4.11/resolv.rb +3587 -0
  773. package/lib/ruby/3.4.11/ruby2_keywords.gemspec +23 -0
  774. package/lib/ruby/3.4.11/ruby_vm/rjit/.document +1 -0
  775. package/lib/ruby/3.4.11/ruby_vm/rjit/assembler.rb +1160 -0
  776. package/lib/ruby/3.4.11/ruby_vm/rjit/block.rb +11 -0
  777. package/lib/ruby/3.4.11/ruby_vm/rjit/branch_stub.rb +24 -0
  778. package/lib/ruby/3.4.11/ruby_vm/rjit/c_pointer.rb +394 -0
  779. package/lib/ruby/3.4.11/ruby_vm/rjit/c_type.rb +99 -0
  780. package/lib/ruby/3.4.11/ruby_vm/rjit/code_block.rb +91 -0
  781. package/lib/ruby/3.4.11/ruby_vm/rjit/compiler.rb +518 -0
  782. package/lib/ruby/3.4.11/ruby_vm/rjit/context.rb +377 -0
  783. package/lib/ruby/3.4.11/ruby_vm/rjit/entry_stub.rb +7 -0
  784. package/lib/ruby/3.4.11/ruby_vm/rjit/exit_compiler.rb +164 -0
  785. package/lib/ruby/3.4.11/ruby_vm/rjit/hooks.rb +36 -0
  786. package/lib/ruby/3.4.11/ruby_vm/rjit/insn_compiler.rb +6046 -0
  787. package/lib/ruby/3.4.11/ruby_vm/rjit/instruction.rb +1326 -0
  788. package/lib/ruby/3.4.11/ruby_vm/rjit/invariants.rb +155 -0
  789. package/lib/ruby/3.4.11/ruby_vm/rjit/jit_state.rb +65 -0
  790. package/lib/ruby/3.4.11/ruby_vm/rjit/stats.rb +191 -0
  791. package/lib/ruby/3.4.11/ruby_vm/rjit/type.rb +221 -0
  792. package/lib/ruby/3.4.11/rubygems/available_set.rb +165 -0
  793. package/lib/ruby/3.4.11/rubygems/basic_specification.rb +383 -0
  794. package/lib/ruby/3.4.11/rubygems/bundler_version_finder.rb +77 -0
  795. package/lib/ruby/3.4.11/rubygems/ci_detector.rb +75 -0
  796. package/lib/ruby/3.4.11/rubygems/command.rb +664 -0
  797. package/lib/ruby/3.4.11/rubygems/command_manager.rb +255 -0
  798. package/lib/ruby/3.4.11/rubygems/commands/build_command.rb +127 -0
  799. package/lib/ruby/3.4.11/rubygems/commands/cert_command.rb +325 -0
  800. package/lib/ruby/3.4.11/rubygems/commands/check_command.rb +97 -0
  801. package/lib/ruby/3.4.11/rubygems/commands/cleanup_command.rb +178 -0
  802. package/lib/ruby/3.4.11/rubygems/commands/contents_command.rb +196 -0
  803. package/lib/ruby/3.4.11/rubygems/commands/dependency_command.rb +206 -0
  804. package/lib/ruby/3.4.11/rubygems/commands/environment_command.rb +181 -0
  805. package/lib/ruby/3.4.11/rubygems/commands/exec_command.rb +256 -0
  806. package/lib/ruby/3.4.11/rubygems/commands/fetch_command.rb +109 -0
  807. package/lib/ruby/3.4.11/rubygems/commands/generate_index_command.rb +51 -0
  808. package/lib/ruby/3.4.11/rubygems/commands/help_command.rb +375 -0
  809. package/lib/ruby/3.4.11/rubygems/commands/info_command.rb +38 -0
  810. package/lib/ruby/3.4.11/rubygems/commands/install_command.rb +269 -0
  811. package/lib/ruby/3.4.11/rubygems/commands/list_command.rb +42 -0
  812. package/lib/ruby/3.4.11/rubygems/commands/lock_command.rb +109 -0
  813. package/lib/ruby/3.4.11/rubygems/commands/mirror_command.rb +26 -0
  814. package/lib/ruby/3.4.11/rubygems/commands/open_command.rb +83 -0
  815. package/lib/ruby/3.4.11/rubygems/commands/outdated_command.rb +33 -0
  816. package/lib/ruby/3.4.11/rubygems/commands/owner_command.rb +124 -0
  817. package/lib/ruby/3.4.11/rubygems/commands/pristine_command.rb +217 -0
  818. package/lib/ruby/3.4.11/rubygems/commands/push_command.rb +135 -0
  819. package/lib/ruby/3.4.11/rubygems/commands/query_command.rb +43 -0
  820. package/lib/ruby/3.4.11/rubygems/commands/rdoc_command.rb +90 -0
  821. package/lib/ruby/3.4.11/rubygems/commands/rebuild_command.rb +262 -0
  822. package/lib/ruby/3.4.11/rubygems/commands/search_command.rb +41 -0
  823. package/lib/ruby/3.4.11/rubygems/commands/server_command.rb +26 -0
  824. package/lib/ruby/3.4.11/rubygems/commands/setup_command.rb +663 -0
  825. package/lib/ruby/3.4.11/rubygems/commands/signin_command.rb +34 -0
  826. package/lib/ruby/3.4.11/rubygems/commands/signout_command.rb +32 -0
  827. package/lib/ruby/3.4.11/rubygems/commands/sources_command.rb +227 -0
  828. package/lib/ruby/3.4.11/rubygems/commands/specification_command.rb +156 -0
  829. package/lib/ruby/3.4.11/rubygems/commands/stale_command.rb +40 -0
  830. package/lib/ruby/3.4.11/rubygems/commands/uninstall_command.rb +204 -0
  831. package/lib/ruby/3.4.11/rubygems/commands/unpack_command.rb +168 -0
  832. package/lib/ruby/3.4.11/rubygems/commands/update_command.rb +326 -0
  833. package/lib/ruby/3.4.11/rubygems/commands/which_command.rb +88 -0
  834. package/lib/ruby/3.4.11/rubygems/commands/yank_command.rb +99 -0
  835. package/lib/ruby/3.4.11/rubygems/compatibility.rb +41 -0
  836. package/lib/ruby/3.4.11/rubygems/config_file.rb +618 -0
  837. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_gem.rb +68 -0
  838. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_require.rb +149 -0
  839. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_warn.rb +45 -0
  840. package/lib/ruby/3.4.11/rubygems/core_ext/tcpsocket_init.rb +54 -0
  841. package/lib/ruby/3.4.11/rubygems/defaults.rb +308 -0
  842. package/lib/ruby/3.4.11/rubygems/dependency.rb +348 -0
  843. package/lib/ruby/3.4.11/rubygems/dependency_installer.rb +335 -0
  844. package/lib/ruby/3.4.11/rubygems/dependency_list.rb +243 -0
  845. package/lib/ruby/3.4.11/rubygems/deprecate.rb +169 -0
  846. package/lib/ruby/3.4.11/rubygems/doctor.rb +132 -0
  847. package/lib/ruby/3.4.11/rubygems/errors.rb +177 -0
  848. package/lib/ruby/3.4.11/rubygems/exceptions.rb +293 -0
  849. package/lib/ruby/3.4.11/rubygems/ext/build_error.rb +9 -0
  850. package/lib/ruby/3.4.11/rubygems/ext/builder.rb +260 -0
  851. package/lib/ruby/3.4.11/rubygems/ext/cargo_builder/link_flag_converter.rb +27 -0
  852. package/lib/ruby/3.4.11/rubygems/ext/cargo_builder.rb +346 -0
  853. package/lib/ruby/3.4.11/rubygems/ext/cmake_builder.rb +21 -0
  854. package/lib/ruby/3.4.11/rubygems/ext/configure_builder.rb +26 -0
  855. package/lib/ruby/3.4.11/rubygems/ext/ext_conf_builder.rb +77 -0
  856. package/lib/ruby/3.4.11/rubygems/ext/rake_builder.rb +37 -0
  857. package/lib/ruby/3.4.11/rubygems/ext.rb +20 -0
  858. package/lib/ruby/3.4.11/rubygems/gem_runner.rb +89 -0
  859. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener/response.rb +163 -0
  860. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener.rb +105 -0
  861. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_poller.rb +80 -0
  862. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities.rb +397 -0
  863. package/lib/ruby/3.4.11/rubygems/gemspec_helpers.rb +19 -0
  864. package/lib/ruby/3.4.11/rubygems/install_default_message.rb +13 -0
  865. package/lib/ruby/3.4.11/rubygems/install_message.rb +13 -0
  866. package/lib/ruby/3.4.11/rubygems/install_update_options.rb +204 -0
  867. package/lib/ruby/3.4.11/rubygems/installer.rb +1031 -0
  868. package/lib/ruby/3.4.11/rubygems/installer_uninstaller_utils.rb +27 -0
  869. package/lib/ruby/3.4.11/rubygems/local_remote_options.rb +146 -0
  870. package/lib/ruby/3.4.11/rubygems/name_tuple.rb +119 -0
  871. package/lib/ruby/3.4.11/rubygems/openssl.rb +7 -0
  872. package/lib/ruby/3.4.11/rubygems/package/digest_io.rb +63 -0
  873. package/lib/ruby/3.4.11/rubygems/package/file_source.rb +32 -0
  874. package/lib/ruby/3.4.11/rubygems/package/io_source.rb +48 -0
  875. package/lib/ruby/3.4.11/rubygems/package/old.rb +169 -0
  876. package/lib/ruby/3.4.11/rubygems/package/source.rb +4 -0
  877. package/lib/ruby/3.4.11/rubygems/package/tar_header.rb +277 -0
  878. package/lib/ruby/3.4.11/rubygems/package/tar_reader/entry.rb +244 -0
  879. package/lib/ruby/3.4.11/rubygems/package/tar_reader.rb +101 -0
  880. package/lib/ruby/3.4.11/rubygems/package/tar_writer.rb +332 -0
  881. package/lib/ruby/3.4.11/rubygems/package.rb +742 -0
  882. package/lib/ruby/3.4.11/rubygems/package_task.rb +123 -0
  883. package/lib/ruby/3.4.11/rubygems/path_support.rb +85 -0
  884. package/lib/ruby/3.4.11/rubygems/platform.rb +269 -0
  885. package/lib/ruby/3.4.11/rubygems/psych_tree.rb +37 -0
  886. package/lib/ruby/3.4.11/rubygems/query_utils.rb +349 -0
  887. package/lib/ruby/3.4.11/rubygems/rdoc.rb +26 -0
  888. package/lib/ruby/3.4.11/rubygems/remote_fetcher.rb +341 -0
  889. package/lib/ruby/3.4.11/rubygems/request/connection_pools.rb +95 -0
  890. package/lib/ruby/3.4.11/rubygems/request/http_pool.rb +47 -0
  891. package/lib/ruby/3.4.11/rubygems/request/https_pool.rb +10 -0
  892. package/lib/ruby/3.4.11/rubygems/request.rb +298 -0
  893. package/lib/ruby/3.4.11/rubygems/request_set/gem_dependency_api.rb +841 -0
  894. package/lib/ruby/3.4.11/rubygems/request_set/lockfile/parser.rb +344 -0
  895. package/lib/ruby/3.4.11/rubygems/request_set/lockfile/tokenizer.rb +122 -0
  896. package/lib/ruby/3.4.11/rubygems/request_set/lockfile.rb +235 -0
  897. package/lib/ruby/3.4.11/rubygems/request_set.rb +468 -0
  898. package/lib/ruby/3.4.11/rubygems/requirement.rb +298 -0
  899. package/lib/ruby/3.4.11/rubygems/resolver/activation_request.rb +159 -0
  900. package/lib/ruby/3.4.11/rubygems/resolver/api_set/gem_parser.rb +21 -0
  901. package/lib/ruby/3.4.11/rubygems/resolver/api_set.rb +139 -0
  902. package/lib/ruby/3.4.11/rubygems/resolver/api_specification.rb +105 -0
  903. package/lib/ruby/3.4.11/rubygems/resolver/best_set.rb +49 -0
  904. package/lib/ruby/3.4.11/rubygems/resolver/composed_set.rb +65 -0
  905. package/lib/ruby/3.4.11/rubygems/resolver/conflict.rb +146 -0
  906. package/lib/ruby/3.4.11/rubygems/resolver/current_set.rb +12 -0
  907. package/lib/ruby/3.4.11/rubygems/resolver/dependency_request.rb +119 -0
  908. package/lib/ruby/3.4.11/rubygems/resolver/git_set.rb +120 -0
  909. package/lib/ruby/3.4.11/rubygems/resolver/git_specification.rb +57 -0
  910. package/lib/ruby/3.4.11/rubygems/resolver/index_set.rb +79 -0
  911. package/lib/ruby/3.4.11/rubygems/resolver/index_specification.rb +101 -0
  912. package/lib/ruby/3.4.11/rubygems/resolver/installed_specification.rb +57 -0
  913. package/lib/ruby/3.4.11/rubygems/resolver/installer_set.rb +271 -0
  914. package/lib/ruby/3.4.11/rubygems/resolver/local_specification.rb +40 -0
  915. package/lib/ruby/3.4.11/rubygems/resolver/lock_set.rb +81 -0
  916. package/lib/ruby/3.4.11/rubygems/resolver/lock_specification.rb +86 -0
  917. package/lib/ruby/3.4.11/rubygems/resolver/requirement_list.rb +82 -0
  918. package/lib/ruby/3.4.11/rubygems/resolver/set.rb +55 -0
  919. package/lib/ruby/3.4.11/rubygems/resolver/source_set.rb +47 -0
  920. package/lib/ruby/3.4.11/rubygems/resolver/spec_specification.rb +76 -0
  921. package/lib/ruby/3.4.11/rubygems/resolver/specification.rb +126 -0
  922. package/lib/ruby/3.4.11/rubygems/resolver/stats.rb +46 -0
  923. package/lib/ruby/3.4.11/rubygems/resolver/vendor_set.rb +86 -0
  924. package/lib/ruby/3.4.11/rubygems/resolver/vendor_specification.rb +23 -0
  925. package/lib/ruby/3.4.11/rubygems/resolver.rb +341 -0
  926. package/lib/ruby/3.4.11/rubygems/s3_uri_signer.rb +177 -0
  927. package/lib/ruby/3.4.11/rubygems/safe_marshal/elements.rb +146 -0
  928. package/lib/ruby/3.4.11/rubygems/safe_marshal/reader.rb +325 -0
  929. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/stream_printer.rb +31 -0
  930. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/to_ruby.rb +428 -0
  931. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/visitor.rb +74 -0
  932. package/lib/ruby/3.4.11/rubygems/safe_marshal.rb +74 -0
  933. package/lib/ruby/3.4.11/rubygems/safe_yaml.rb +45 -0
  934. package/lib/ruby/3.4.11/rubygems/security/policies.rb +114 -0
  935. package/lib/ruby/3.4.11/rubygems/security/policy.rb +288 -0
  936. package/lib/ruby/3.4.11/rubygems/security/signer.rb +212 -0
  937. package/lib/ruby/3.4.11/rubygems/security/trust_dir.rb +117 -0
  938. package/lib/ruby/3.4.11/rubygems/security.rb +615 -0
  939. package/lib/ruby/3.4.11/rubygems/security_option.rb +43 -0
  940. package/lib/ruby/3.4.11/rubygems/source/git.rb +244 -0
  941. package/lib/ruby/3.4.11/rubygems/source/installed.rb +39 -0
  942. package/lib/ruby/3.4.11/rubygems/source/local.rb +131 -0
  943. package/lib/ruby/3.4.11/rubygems/source/lock.rb +49 -0
  944. package/lib/ruby/3.4.11/rubygems/source/specific_file.rb +73 -0
  945. package/lib/ruby/3.4.11/rubygems/source/vendor.rb +24 -0
  946. package/lib/ruby/3.4.11/rubygems/source.rb +247 -0
  947. package/lib/ruby/3.4.11/rubygems/source_list.rb +146 -0
  948. package/lib/ruby/3.4.11/rubygems/spec_fetcher.rb +290 -0
  949. package/lib/ruby/3.4.11/rubygems/specification.rb +2666 -0
  950. package/lib/ruby/3.4.11/rubygems/specification_policy.rb +558 -0
  951. package/lib/ruby/3.4.11/rubygems/specification_record.rb +212 -0
  952. package/lib/ruby/3.4.11/rubygems/ssl_certs/.document +1 -0
  953. package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +21 -0
  954. package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +21 -0
  955. package/lib/ruby/3.4.11/rubygems/stub_specification.rb +235 -0
  956. package/lib/ruby/3.4.11/rubygems/target_rbconfig.rb +50 -0
  957. package/lib/ruby/3.4.11/rubygems/text.rb +85 -0
  958. package/lib/ruby/3.4.11/rubygems/uninstaller.rb +429 -0
  959. package/lib/ruby/3.4.11/rubygems/unknown_command_spell_checker.rb +21 -0
  960. package/lib/ruby/3.4.11/rubygems/update_suggestion.rb +56 -0
  961. package/lib/ruby/3.4.11/rubygems/uri.rb +126 -0
  962. package/lib/ruby/3.4.11/rubygems/uri_formatter.rb +47 -0
  963. package/lib/ruby/3.4.11/rubygems/user_interaction.rb +650 -0
  964. package/lib/ruby/3.4.11/rubygems/util/licenses.rb +834 -0
  965. package/lib/ruby/3.4.11/rubygems/util/list.rb +40 -0
  966. package/lib/ruby/3.4.11/rubygems/util.rb +118 -0
  967. package/lib/ruby/3.4.11/rubygems/validator.rb +144 -0
  968. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/.document +1 -0
  969. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
  970. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +88 -0
  971. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
  972. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
  973. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
  974. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
  975. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
  976. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
  977. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
  978. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
  979. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +164 -0
  980. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +255 -0
  981. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/errors.rb +149 -0
  982. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
  983. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +112 -0
  984. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +67 -0
  985. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +839 -0
  986. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +46 -0
  987. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/state.rb +58 -0
  988. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo.rb +11 -0
  989. package/lib/ruby/3.4.11/rubygems/vendor/net-http/.document +1 -0
  990. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/exceptions.rb +34 -0
  991. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/generic_request.rb +414 -0
  992. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/header.rb +981 -0
  993. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +17 -0
  994. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/request.rb +88 -0
  995. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/requests.rb +430 -0
  996. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/response.rb +738 -0
  997. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/responses.rb +1174 -0
  998. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/status.rb +84 -0
  999. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http.rb +2580 -0
  1000. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/https.rb +23 -0
  1001. package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/.document +1 -0
  1002. package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/lib/net/protocol.rb +544 -0
  1003. package/lib/ruby/3.4.11/rubygems/vendor/optparse/.document +1 -0
  1004. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optionparser.rb +2 -0
  1005. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/ac.rb +70 -0
  1006. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/date.rb +18 -0
  1007. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/kwargs.rb +27 -0
  1008. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/shellwords.rb +7 -0
  1009. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/time.rb +11 -0
  1010. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/uri.rb +7 -0
  1011. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/version.rb +80 -0
  1012. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse.rb +2426 -0
  1013. package/lib/ruby/3.4.11/rubygems/vendor/resolv/.document +1 -0
  1014. package/lib/ruby/3.4.11/rubygems/vendor/resolv/lib/resolv.rb +3455 -0
  1015. package/lib/ruby/3.4.11/rubygems/vendor/securerandom/.document +1 -0
  1016. package/lib/ruby/3.4.11/rubygems/vendor/securerandom/lib/securerandom.rb +102 -0
  1017. package/lib/ruby/3.4.11/rubygems/vendor/timeout/.document +1 -0
  1018. package/lib/ruby/3.4.11/rubygems/vendor/timeout/lib/timeout.rb +198 -0
  1019. package/lib/ruby/3.4.11/rubygems/vendor/tsort/.document +1 -0
  1020. package/lib/ruby/3.4.11/rubygems/vendor/tsort/lib/tsort.rb +455 -0
  1021. package/lib/ruby/3.4.11/rubygems/vendor/uri/.document +1 -0
  1022. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/common.rb +880 -0
  1023. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/file.rb +100 -0
  1024. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ftp.rb +267 -0
  1025. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/generic.rb +1592 -0
  1026. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/http.rb +125 -0
  1027. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/https.rb +23 -0
  1028. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldap.rb +261 -0
  1029. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldaps.rb +22 -0
  1030. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/mailto.rb +293 -0
  1031. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  1032. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
  1033. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/version.rb +6 -0
  1034. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ws.rb +83 -0
  1035. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/wss.rb +23 -0
  1036. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri.rb +104 -0
  1037. package/lib/ruby/3.4.11/rubygems/vendored_molinillo.rb +3 -0
  1038. package/lib/ruby/3.4.11/rubygems/vendored_net_http.rb +5 -0
  1039. package/lib/ruby/3.4.11/rubygems/vendored_optparse.rb +3 -0
  1040. package/lib/ruby/3.4.11/rubygems/vendored_securerandom.rb +3 -0
  1041. package/lib/ruby/3.4.11/rubygems/vendored_timeout.rb +5 -0
  1042. package/lib/ruby/3.4.11/rubygems/vendored_tsort.rb +3 -0
  1043. package/lib/ruby/3.4.11/rubygems/version.rb +441 -0
  1044. package/lib/ruby/3.4.11/rubygems/version_option.rb +80 -0
  1045. package/lib/ruby/3.4.11/rubygems/yaml_serializer.rb +98 -0
  1046. package/lib/ruby/3.4.11/rubygems.rb +1417 -0
  1047. package/lib/ruby/3.4.11/securerandom.gemspec +34 -0
  1048. package/lib/ruby/3.4.11/securerandom.rb +102 -0
  1049. package/lib/ruby/3.4.11/set/set.gemspec +30 -0
  1050. package/lib/ruby/3.4.11/set/sorted_set.rb +6 -0
  1051. package/lib/ruby/3.4.11/set.rb +855 -0
  1052. package/lib/ruby/3.4.11/shellwords.gemspec +31 -0
  1053. package/lib/ruby/3.4.11/shellwords.rb +254 -0
  1054. package/lib/ruby/3.4.11/singleton.gemspec +30 -0
  1055. package/lib/ruby/3.4.11/singleton.rb +239 -0
  1056. package/lib/ruby/3.4.11/syntax_suggest/api.rb +233 -0
  1057. package/lib/ruby/3.4.11/syntax_suggest/around_block_scan.rb +232 -0
  1058. package/lib/ruby/3.4.11/syntax_suggest/block_expand.rb +165 -0
  1059. package/lib/ruby/3.4.11/syntax_suggest/capture/before_after_keyword_ends.rb +85 -0
  1060. package/lib/ruby/3.4.11/syntax_suggest/capture/falling_indent_lines.rb +71 -0
  1061. package/lib/ruby/3.4.11/syntax_suggest/capture_code_context.rb +245 -0
  1062. package/lib/ruby/3.4.11/syntax_suggest/clean_document.rb +306 -0
  1063. package/lib/ruby/3.4.11/syntax_suggest/cli.rb +130 -0
  1064. package/lib/ruby/3.4.11/syntax_suggest/code_block.rb +100 -0
  1065. package/lib/ruby/3.4.11/syntax_suggest/code_frontier.rb +178 -0
  1066. package/lib/ruby/3.4.11/syntax_suggest/code_line.rb +243 -0
  1067. package/lib/ruby/3.4.11/syntax_suggest/code_search.rb +139 -0
  1068. package/lib/ruby/3.4.11/syntax_suggest/core_ext.rb +96 -0
  1069. package/lib/ruby/3.4.11/syntax_suggest/display_code_with_line_numbers.rb +70 -0
  1070. package/lib/ruby/3.4.11/syntax_suggest/display_invalid_blocks.rb +83 -0
  1071. package/lib/ruby/3.4.11/syntax_suggest/explain_syntax.rb +117 -0
  1072. package/lib/ruby/3.4.11/syntax_suggest/left_right_lex_count.rb +168 -0
  1073. package/lib/ruby/3.4.11/syntax_suggest/lex_all.rb +74 -0
  1074. package/lib/ruby/3.4.11/syntax_suggest/lex_value.rb +70 -0
  1075. package/lib/ruby/3.4.11/syntax_suggest/mini_stringio.rb +30 -0
  1076. package/lib/ruby/3.4.11/syntax_suggest/parse_blocks_from_indent_line.rb +60 -0
  1077. package/lib/ruby/3.4.11/syntax_suggest/pathname_from_message.rb +59 -0
  1078. package/lib/ruby/3.4.11/syntax_suggest/priority_engulf_queue.rb +63 -0
  1079. package/lib/ruby/3.4.11/syntax_suggest/priority_queue.rb +105 -0
  1080. package/lib/ruby/3.4.11/syntax_suggest/ripper_errors.rb +39 -0
  1081. package/lib/ruby/3.4.11/syntax_suggest/scan_history.rb +134 -0
  1082. package/lib/ruby/3.4.11/syntax_suggest/syntax_suggest.gemspec +32 -0
  1083. package/lib/ruby/3.4.11/syntax_suggest/unvisited_lines.rb +36 -0
  1084. package/lib/ruby/3.4.11/syntax_suggest/version.rb +5 -0
  1085. package/lib/ruby/3.4.11/syntax_suggest.rb +3 -0
  1086. package/lib/ruby/3.4.11/tempfile.gemspec +33 -0
  1087. package/lib/ruby/3.4.11/tempfile.rb +640 -0
  1088. package/lib/ruby/3.4.11/time.gemspec +35 -0
  1089. package/lib/ruby/3.4.11/time.rb +731 -0
  1090. package/lib/ruby/3.4.11/timeout.gemspec +33 -0
  1091. package/lib/ruby/3.4.11/timeout.rb +200 -0
  1092. package/lib/ruby/3.4.11/tmpdir.gemspec +30 -0
  1093. package/lib/ruby/3.4.11/tmpdir.rb +189 -0
  1094. package/lib/ruby/3.4.11/tsort.gemspec +29 -0
  1095. package/lib/ruby/3.4.11/tsort.rb +455 -0
  1096. package/lib/ruby/3.4.11/un.gemspec +31 -0
  1097. package/lib/ruby/3.4.11/un.rb +441 -0
  1098. package/lib/ruby/3.4.11/unicode_normalize/normalize.rb +181 -0
  1099. package/lib/ruby/3.4.11/unicode_normalize/tables.rb +9259 -0
  1100. package/lib/ruby/3.4.11/uri/common.rb +880 -0
  1101. package/lib/ruby/3.4.11/uri/file.rb +100 -0
  1102. package/lib/ruby/3.4.11/uri/ftp.rb +267 -0
  1103. package/lib/ruby/3.4.11/uri/generic.rb +1592 -0
  1104. package/lib/ruby/3.4.11/uri/http.rb +125 -0
  1105. package/lib/ruby/3.4.11/uri/https.rb +23 -0
  1106. package/lib/ruby/3.4.11/uri/ldap.rb +261 -0
  1107. package/lib/ruby/3.4.11/uri/ldaps.rb +22 -0
  1108. package/lib/ruby/3.4.11/uri/mailto.rb +293 -0
  1109. package/lib/ruby/3.4.11/uri/rfc2396_parser.rb +546 -0
  1110. package/lib/ruby/3.4.11/uri/rfc3986_parser.rb +206 -0
  1111. package/lib/ruby/3.4.11/uri/uri.gemspec +42 -0
  1112. package/lib/ruby/3.4.11/uri/version.rb +6 -0
  1113. package/lib/ruby/3.4.11/uri/ws.rb +83 -0
  1114. package/lib/ruby/3.4.11/uri/wss.rb +23 -0
  1115. package/lib/ruby/3.4.11/uri.rb +104 -0
  1116. package/lib/ruby/3.4.11/weakref.gemspec +34 -0
  1117. package/lib/ruby/3.4.11/weakref.rb +58 -0
  1118. package/lib/ruby/3.4.11/yaml/dbm.rb +295 -0
  1119. package/lib/ruby/3.4.11/yaml/store.rb +98 -0
  1120. package/lib/ruby/3.4.11/yaml/yaml.gemspec +30 -0
  1121. package/lib/ruby/3.4.11/yaml.rb +70 -0
  1122. package/lib/ruby/gems/3.4.0/cache/abbrev-0.1.2.gem +0 -0
  1123. package/lib/ruby/gems/3.4.0/cache/base64-0.2.0.gem +0 -0
  1124. package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
  1125. package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
  1126. package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
  1127. package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
  1128. package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
  1129. package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
  1130. package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
  1131. package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
  1132. package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
  1133. package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
  1134. package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
  1135. package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
  1136. package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
  1137. package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
  1138. package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
  1139. package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
  1140. package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
  1141. package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
  1142. package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
  1143. package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
  1144. package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
  1145. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
  1146. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
  1147. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
  1148. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
  1149. package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
  1150. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
  1151. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
  1152. package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
  1153. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
  1154. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
  1155. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
  1156. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
  1157. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
  1158. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
  1159. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
  1160. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
  1161. package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
  1162. package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
  1163. package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
  1164. package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
  1165. package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
  1166. package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
  1167. package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
  1168. package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
  1169. package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
  1170. package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
  1171. package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
  1172. package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
  1173. package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
  1174. package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
  1175. package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
  1176. package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
  1177. package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
  1178. package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
  1179. package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
  1180. package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
  1181. package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
  1182. package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
  1183. package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
  1184. package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
  1185. package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
  1186. package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
  1187. package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
  1188. package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
  1189. package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
  1190. package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
  1191. package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
  1192. package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
  1193. package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
  1194. package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
  1195. package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
  1196. package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
  1197. package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
  1198. package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
  1199. package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
  1200. package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
  1201. package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
  1202. package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
  1203. package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
  1204. package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
  1205. package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
  1206. package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
  1207. package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
  1208. package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
  1209. package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
  1210. package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
  1211. package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
  1212. package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
  1213. package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
  1214. package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
  1215. package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
  1216. package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
  1217. package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
  1218. package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
  1219. package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
  1220. package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
  1221. package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
  1222. package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
  1223. package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
  1224. package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
  1225. package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
  1226. package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
  1227. package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
  1228. package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
  1229. package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
  1230. package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
  1231. package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
  1232. package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
  1233. package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
  1234. package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
  1235. package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
  1236. package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
  1237. package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
  1238. package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
  1239. package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
  1240. package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
  1241. package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
  1242. package/package.json +17 -13
  1243. package/lib/ruby/3.4.0/expect.rb +0 -71
  1244. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
  1245. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
  1246. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
  1247. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
  1248. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
  1249. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +0 -90
  1250. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +0 -89
  1251. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +0 -232
  1252. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +0 -80
  1253. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +0 -185
  1254. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +0 -5
  1255. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +0 -74
  1256. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +0 -40
  1257. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +0 -21
  1258. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
  1259. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +0 -573
  1260. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +0 -10
  1261. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +0 -22
  1262. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +0 -996
  1263. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +0 -57
  1264. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +0 -23
  1265. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
  1266. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
  1267. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +0 -53
  1268. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +0 -77
  1269. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +0 -556
  1270. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +0 -263
  1271. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +0 -123
  1272. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +0 -592
  1273. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +0 -224
  1274. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +0 -336
  1275. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +0 -190
  1276. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +0 -37
  1277. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +0 -115
  1278. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +0 -13
  1279. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +0 -15
  1280. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +0 -50
  1281. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +0 -534
  1282. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +0 -1348
  1283. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +0 -1108
  1284. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +0 -2667
  1285. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +0 -150
  1286. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +0 -5
  1287. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +0 -1457
  1288. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +0 -241
  1289. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +0 -5
  1290. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +0 -9
  1291. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +0 -660
  1292. package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
  1293. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
  1294. package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
  1295. package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
  1296. package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
  1297. package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
  1298. package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
  1299. package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
  1300. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
  1301. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +0 -5
  1302. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +0 -22
  1303. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +0 -38
  1304. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +0 -24
  1305. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -14
  1306. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +0 -283
  1307. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +0 -6
  1308. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
  1309. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
  1310. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
  1311. package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
  1312. package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
  1313. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
  1314. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +0 -22
  1315. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +0 -56
  1316. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
  1317. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
  1318. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
  1319. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +0 -5
  1320. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
  1321. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
  1322. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
  1323. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
  1324. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
  1325. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
  1326. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
  1327. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
  1328. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
  1329. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
  1330. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
  1331. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
  1332. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
  1333. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
  1334. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
  1335. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
  1336. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
  1337. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
  1338. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
  1339. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
  1340. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
  1341. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
  1342. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
  1343. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
  1344. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
  1345. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
  1346. package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
  1347. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
  1348. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
  1349. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +0 -22
  1350. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +0 -1854
  1351. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +0 -56
  1352. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +0 -203
  1353. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +0 -415
  1354. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +0 -44
  1355. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +0 -311
  1356. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +0 -4062
  1357. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +0 -375
  1358. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +0 -150
  1359. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +0 -277
  1360. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +0 -220
  1361. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +0 -171
  1362. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +0 -786
  1363. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +0 -96
  1364. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +0 -415
  1365. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +0 -981
  1366. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +0 -1371
  1367. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +0 -2405
  1368. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +0 -92
  1369. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +0 -630
  1370. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +0 -6
  1371. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +0 -673
  1372. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +0 -760
  1373. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +0 -376
  1374. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +0 -82
  1375. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +0 -550
  1376. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +0 -11
  1377. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +0 -2936
  1378. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +0 -331
  1379. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +0 -1151
  1380. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +0 -644
  1381. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +0 -184
  1382. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +0 -1861
  1383. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +0 -1413
  1384. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +0 -984
  1385. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +0 -70
  1386. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +0 -3402
  1387. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +0 -3054
  1388. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +0 -207
  1389. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +0 -635
  1390. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +0 -729
  1391. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +0 -386
  1392. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +0 -1704
  1393. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +0 -209
  1394. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +0 -818
  1395. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +0 -110
  1396. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +0 -166
  1397. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +0 -190
  1398. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +0 -868
  1399. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +0 -2296
  1400. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +0 -1065
  1401. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +0 -237
  1402. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +0 -1107
  1403. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +0 -531
  1404. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +0 -88
  1405. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +0 -1229
  1406. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +0 -1209
  1407. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +0 -293
  1408. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +0 -59
  1409. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +0 -1928
  1410. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +0 -765
  1411. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +0 -6
  1412. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +0 -38
  1413. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +0 -6
  1414. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +0 -176
  1415. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +0 -15
  1416. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +0 -6
  1417. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +0 -7
  1418. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +0 -49
  1419. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +0 -148
  1420. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +0 -1171
  1421. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +0 -15
  1422. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +0 -23
  1423. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +0 -5
  1424. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +0 -10
  1425. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +0 -294
  1426. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +0 -621
  1427. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +0 -100
  1428. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +0 -3583
  1429. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +0 -667
  1430. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +0 -475
  1431. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +0 -1765
  1432. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +0 -79
  1433. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +0 -1762
  1434. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +0 -477
  1435. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +0 -98
  1436. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +0 -329
  1437. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +0 -87
  1438. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +0 -106
  1439. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +0 -110
  1440. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +0 -192
  1441. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +0 -86
  1442. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +0 -57
  1443. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +0 -309
  1444. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +0 -125
  1445. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +0 -167
  1446. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +0 -147
  1447. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +0 -905
  1448. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +0 -17
  1449. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +0 -7
  1450. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +0 -91
  1451. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +0 -82
  1452. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +0 -72
  1453. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +0 -7
  1454. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +0 -92
  1455. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +0 -199
  1456. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +0 -92
  1457. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +0 -400
  1458. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +0 -131
  1459. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +0 -8
  1460. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +0 -29
  1461. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +0 -29
  1462. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +0 -467
  1463. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +0 -39
  1464. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +0 -449
  1465. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +0 -225
  1466. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +0 -137
  1467. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +0 -67
  1468. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +0 -58
  1469. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +0 -48
  1470. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +0 -83
  1471. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +0 -356
  1472. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +0 -1223
  1473. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +0 -38
  1474. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +0 -92
  1475. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +0 -223
  1476. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +0 -81
  1477. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +0 -32
  1478. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +0 -14
  1479. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +0 -258
  1480. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +0 -81
  1481. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +0 -48
  1482. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +0 -50
  1483. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +0 -38
  1484. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +0 -16
  1485. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +0 -28
  1486. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +0 -395
  1487. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +0 -620
  1488. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +0 -254
  1489. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +0 -841
  1490. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +0 -125
  1491. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +0 -77
  1492. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +0 -818
  1493. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +0 -173
  1494. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +0 -155
  1495. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +0 -600
  1496. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +0 -18
  1497. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +0 -28
  1498. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +0 -138
  1499. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +0 -241
  1500. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +0 -141
  1501. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +0 -125
  1502. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +0 -15
  1503. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +0 -23
  1504. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +0 -77
  1505. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +0 -140
  1506. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +0 -99
  1507. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +0 -840
  1508. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +0 -641
  1509. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +0 -59
  1510. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +0 -19
  1511. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +0 -279
  1512. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +0 -667
  1513. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +0 -127
  1514. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +0 -219
  1515. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +0 -91
  1516. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +0 -198
  1517. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +0 -83
  1518. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +0 -201
  1519. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +0 -80
  1520. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +0 -30
  1521. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +0 -212
  1522. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +0 -19
  1523. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +0 -84
  1524. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +0 -50
  1525. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +0 -167
  1526. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +0 -433
  1527. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +0 -112
  1528. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +0 -100
  1529. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +0 -126
  1530. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +0 -109
  1531. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +0 -1557
  1532. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +0 -176
  1533. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +0 -136
  1534. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +0 -341
  1535. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +0 -143
  1536. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +0 -6
  1537. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +0 -182
  1538. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +0 -189
  1539. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +0 -71
  1540. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +0 -5
  1541. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +0 -419
  1542. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +0 -93
  1543. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +0 -20
  1544. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +0 -163
  1545. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
  1546. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
  1547. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +0 -14
  1548. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +0 -26
  1549. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +0 -326
  1550. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +0 -87
  1551. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +0 -56
  1552. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +0 -266
  1553. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +0 -50
  1554. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +0 -36
  1555. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +0 -317
  1556. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +0 -163
  1557. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +0 -60
  1558. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +0 -102
  1559. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +0 -24
  1560. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +0 -82
  1561. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +0 -30
  1562. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +0 -27
  1563. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +0 -32
  1564. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +0 -44
  1565. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +0 -15
  1566. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +0 -21
  1567. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +0 -43
  1568. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +0 -87
  1569. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +0 -13
  1570. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +0 -74
  1571. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +0 -66
  1572. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +0 -46
  1573. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +0 -17
  1574. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +0 -214
  1575. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +0 -4
  1576. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +0 -26
  1577. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +0 -21
  1578. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +0 -267
  1579. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +0 -173
  1580. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +0 -165
  1581. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +0 -28
  1582. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +0 -61
  1583. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +0 -277
  1584. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +0 -111
  1585. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +0 -65
  1586. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +0 -383
  1587. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +0 -5
  1588. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +0 -28
  1589. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +0 -110
  1590. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +0 -58
  1591. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +0 -7
  1592. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +0 -258
  1593. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +0 -84
  1594. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +0 -58
  1595. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +0 -146
  1596. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +0 -96
  1597. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +0 -27
  1598. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +0 -20
  1599. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +0 -96
  1600. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +0 -75
  1601. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +0 -182
  1602. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +0 -21
  1603. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +0 -67
  1604. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +0 -85
  1605. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +0 -92
  1606. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +0 -34
  1607. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +0 -35
  1608. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +0 -38
  1609. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +0 -5
  1610. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +0 -19
  1611. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +0 -41
  1612. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +0 -48
  1613. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +0 -37
  1614. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +0 -52
  1615. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +0 -9
  1616. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +0 -19
  1617. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +0 -82
  1618. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +0 -53
  1619. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +0 -98
  1620. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +0 -110
  1621. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +0 -79
  1622. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +0 -576
  1623. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +0 -154
  1624. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +0 -28
  1625. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +0 -194
  1626. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +0 -136
  1627. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +0 -35
  1628. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +0 -9
  1629. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +0 -59
  1630. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +0 -87
  1631. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +0 -51
  1632. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +0 -3
  1633. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +0 -47
  1634. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +0 -127
  1635. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +0 -153
  1636. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +0 -793
  1637. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +0 -66
  1638. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +0 -26
  1639. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +0 -355
  1640. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +0 -452
  1641. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +0 -1629
  1642. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +0 -119
  1643. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +0 -2
  1644. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +0 -1285
  1645. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +0 -3
  1646. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +0 -263
  1647. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +0 -3776
  1648. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +0 -3
  1649. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +0 -1585
  1650. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +0 -616
  1651. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +0 -26
  1652. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +0 -421
  1653. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +0 -184
  1654. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +0 -47
  1655. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +0 -96
  1656. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +0 -343
  1657. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +0 -577
  1658. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +0 -532
  1659. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +0 -865
  1660. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +0 -1734
  1661. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +0 -49
  1662. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +0 -268
  1663. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +0 -414
  1664. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +0 -428
  1665. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +0 -1914
  1666. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +0 -166
  1667. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +0 -45
  1668. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +0 -100
  1669. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +0 -796
  1670. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +0 -2
  1671. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +0 -17
  1672. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +0 -34
  1673. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +0 -42
  1674. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +0 -52
  1675. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +0 -17
  1676. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +0 -590
  1677. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +0 -23
  1678. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +0 -102
  1679. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +0 -259
  1680. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +0 -25
  1681. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +0 -13
  1682. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +0 -3
  1683. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +0 -2
  1684. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +0 -21
  1685. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +0 -64
  1686. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +0 -64
  1687. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +0 -46
  1688. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +0 -5
  1689. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +0 -3
  1690. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +0 -2
  1691. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +0 -62
  1692. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +0 -19
  1693. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +0 -11
  1694. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +0 -53
  1695. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +0 -5
  1696. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +0 -28
  1697. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +0 -163
  1698. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +0 -6
  1699. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +0 -48
  1700. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +0 -129
  1701. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +0 -11
  1702. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +0 -81
  1703. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +0 -18
  1704. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +0 -92
  1705. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +0 -69
  1706. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +0 -12
  1707. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +0 -6
  1708. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +0 -3
  1709. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +0 -4
  1710. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +0 -115
  1711. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +0 -354
  1712. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +0 -104
  1713. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +0 -3
  1714. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +0 -5552
  1715. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +0 -2
  1716. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +0 -56
  1717. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +0 -2
  1718. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +0 -55
  1719. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +0 -402
  1720. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +0 -487
  1721. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +0 -217
  1722. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +0 -4
  1723. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +0 -393
  1724. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +0 -147
  1725. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +0 -3
  1726. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +0 -12113
  1727. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +0 -1725
  1728. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +0 -1406
  1729. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +0 -2
  1730. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +0 -300
  1731. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +0 -383
  1732. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +0 -603
  1733. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +0 -12
  1734. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +0 -237
  1735. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +0 -3
  1736. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +0 -402
  1737. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +0 -59
  1738. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +0 -237
  1739. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +0 -51
  1740. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +0 -59
  1741. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +0 -153
  1742. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +0 -117
  1743. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +0 -56
  1744. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +0 -391
  1745. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +0 -17
  1746. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +0 -48
  1747. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +0 -97
  1748. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +0 -3
  1749. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +0 -1830
  1750. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +0 -1648
  1751. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +0 -62
  1752. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +0 -229
  1753. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +0 -131
  1754. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +0 -666
  1755. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +0 -590
  1756. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +0 -2295
  1757. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +0 -92
  1758. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +0 -4157
  1759. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +0 -5
  1760. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +0 -192
  1761. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +0 -79
  1762. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +0 -133
  1763. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +0 -169
  1764. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +0 -170
  1765. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +0 -567
  1766. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +0 -1627
  1767. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +0 -479
  1768. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +0 -432
  1769. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +0 -81
  1770. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +0 -69
  1771. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +0 -5
  1772. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +0 -20
  1773. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +0 -409
  1774. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +0 -582
  1775. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +0 -118
  1776. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +0 -13
  1777. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +0 -1108
  1778. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +0 -104
  1779. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +0 -14
  1780. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +0 -230
  1781. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +0 -14
  1782. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +0 -92
  1783. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +0 -189
  1784. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +0 -2
  1785. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +0 -13
  1786. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +0 -9
  1787. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +0 -2
  1788. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +0 -1
  1789. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +0 -10
  1790. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +0 -10
  1791. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +0 -210
  1792. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +0 -20
  1793. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +0 -12
  1794. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +0 -23
  1795. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +0 -12
  1796. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +0 -11
  1797. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +0 -156
  1798. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +0 -293
  1799. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +0 -166
  1800. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +0 -180
  1801. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +0 -10
  1802. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +0 -13
  1803. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +0 -11
  1804. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +0 -11
  1805. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +0 -11
  1806. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +0 -449
  1807. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +0 -200
  1808. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +0 -20
  1809. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +0 -10
  1810. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +0 -36
  1811. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +0 -27
  1812. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +0 -122
  1813. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
  1814. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
  1815. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
  1816. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +0 -5
  1817. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +0 -22
  1818. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +0 -41
  1819. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +0 -20
  1820. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -14
  1821. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -8
  1822. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +0 -209
  1823. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +0 -10
  1824. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
  1825. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
  1826. package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
  1827. package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +0 -50
  1828. package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +0 -33
  1829. package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +0 -43
  1830. package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +0 -26
  1831. package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +0 -49
  1832. package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +0 -26
@@ -1,3054 +0,0 @@
1
- # <!-- rdoc-file=object.c -->
2
- # The Kernel module is included by class Object, so its methods are available in
3
- # every Ruby object.
4
- #
5
- # The Kernel instance methods are documented in class Object while the module
6
- # methods are documented here. These methods are called without a receiver and
7
- # thus can be called in functional form:
8
- #
9
- # sprintf "%.1f", 1.234 #=> "1.2"
10
- #
11
- # ## What's Here
12
- #
13
- # Module Kernel provides methods that are useful for:
14
- #
15
- # * [Converting](rdoc-ref:Kernel@Converting)
16
- # * [Querying](rdoc-ref:Kernel@Querying)
17
- # * [Exiting](rdoc-ref:Kernel@Exiting)
18
- # * [Exceptions](rdoc-ref:Kernel@Exceptions)
19
- # * [IO](rdoc-ref:Kernel@IO)
20
- # * [Procs](rdoc-ref:Kernel@Procs)
21
- # * [Tracing](rdoc-ref:Kernel@Tracing)
22
- # * [Subprocesses](rdoc-ref:Kernel@Subprocesses)
23
- # * [Loading](rdoc-ref:Kernel@Loading)
24
- # * [Yielding](rdoc-ref:Kernel@Yielding)
25
- # * [Random Values](rdoc-ref:Kernel@Random+Values)
26
- # * [Other](rdoc-ref:Kernel@Other)
27
- #
28
- # ### Converting
29
- #
30
- # * #Array: Returns an Array based on the given argument.
31
- # * #Complex: Returns a Complex based on the given arguments.
32
- # * #Float: Returns a Float based on the given arguments.
33
- # * #Hash: Returns a Hash based on the given argument.
34
- # * #Integer: Returns an Integer based on the given arguments.
35
- # * #Rational: Returns a Rational based on the given arguments.
36
- # * #String: Returns a String based on the given argument.
37
- #
38
- # ### Querying
39
- #
40
- # * #__callee__: Returns the called name of the current method as a symbol.
41
- # * #__dir__: Returns the path to the directory from which the current method
42
- # is called.
43
- # * #__method__: Returns the name of the current method as a symbol.
44
- # * #autoload?: Returns the file to be loaded when the given module is
45
- # referenced.
46
- # * #binding: Returns a Binding for the context at the point of call.
47
- # * #block_given?: Returns `true` if a block was passed to the calling method.
48
- # * #caller: Returns the current execution stack as an array of strings.
49
- # * #caller_locations: Returns the current execution stack as an array of
50
- # Thread::Backtrace::Location objects.
51
- # * #class: Returns the class of `self`.
52
- # * #frozen?: Returns whether `self` is frozen.
53
- # * #global_variables: Returns an array of global variables as symbols.
54
- # * #local_variables: Returns an array of local variables as symbols.
55
- # * #test: Performs specified tests on the given single file or pair of files.
56
- #
57
- # ### Exiting
58
- #
59
- # * #abort: Exits the current process after printing the given arguments.
60
- # * #at_exit: Executes the given block when the process exits.
61
- # * #exit: Exits the current process after calling any registered `at_exit`
62
- # handlers.
63
- # * #exit!: Exits the current process without calling any registered `at_exit`
64
- # handlers.
65
- #
66
- # ### Exceptions
67
- #
68
- # * #catch: Executes the given block, possibly catching a thrown object.
69
- # * #raise (aliased as #fail): Raises an exception based on the given
70
- # arguments.
71
- # * #throw: Returns from the active catch block waiting for the given tag.
72
- #
73
- # ### IO
74
- #
75
- # * ::pp: Prints the given objects in pretty form.
76
- # * #gets: Returns and assigns to `$_` the next line from the current input.
77
- # * #open: Creates an IO object connected to the given stream, file, or
78
- # subprocess.
79
- # * #p: Prints the given objects' inspect output to the standard output.
80
- # * #print: Prints the given objects to standard output without a newline.
81
- # * #printf: Prints the string resulting from applying the given format string
82
- # to any additional arguments.
83
- # * #putc: Equivalent to <tt.$stdout.putc(object)</tt> for the given object.
84
- # * #puts: Equivalent to `$stdout.puts(*objects)` for the given objects.
85
- # * #readline: Similar to #gets, but raises an exception at the end of file.
86
- # * #readlines: Returns an array of the remaining lines from the current
87
- # input.
88
- # * #select: Same as IO.select.
89
- #
90
- # ### Procs
91
- #
92
- # * #lambda: Returns a lambda proc for the given block.
93
- # * #proc: Returns a new Proc; equivalent to Proc.new.
94
- #
95
- # ### Tracing
96
- #
97
- # * #set_trace_func: Sets the given proc as the handler for tracing, or
98
- # disables tracing if given `nil`.
99
- # * #trace_var: Starts tracing assignments to the given global variable.
100
- # * #untrace_var: Disables tracing of assignments to the given global
101
- # variable.
102
- #
103
- # ### Subprocesses
104
- #
105
- # * [\`command`](rdoc-ref:Kernel#`): Returns the standard output of running
106
- # `command` in a subshell.
107
- # * #exec: Replaces current process with a new process.
108
- # * #fork: Forks the current process into two processes.
109
- # * #spawn: Executes the given command and returns its pid without waiting for
110
- # completion.
111
- # * #system: Executes the given command in a subshell.
112
- #
113
- # ### Loading
114
- #
115
- # * #autoload: Registers the given file to be loaded when the given constant
116
- # is first referenced.
117
- # * #load: Loads the given Ruby file.
118
- # * #require: Loads the given Ruby file unless it has already been loaded.
119
- # * #require_relative: Loads the Ruby file path relative to the calling file,
120
- # unless it has already been loaded.
121
- #
122
- # ### Yielding
123
- #
124
- # * #tap: Yields `self` to the given block; returns `self`.
125
- # * #then (aliased as #yield_self): Yields `self` to the block and returns the
126
- # result of the block.
127
- #
128
- # ### Random Values
129
- #
130
- # * #rand: Returns a pseudo-random floating point number strictly between 0.0
131
- # and 1.0.
132
- # * #srand: Seeds the pseudo-random number generator with the given number.
133
- #
134
- # ### Other
135
- #
136
- # * #eval: Evaluates the given string as Ruby code.
137
- # * #loop: Repeatedly executes the given block.
138
- # * #sleep: Suspends the current thread for the given number of seconds.
139
- # * #sprintf (aliased as #format): Returns the string resulting from applying
140
- # the given format string to any additional arguments.
141
- # * #syscall: Runs an operating system call.
142
- # * #trap: Specifies the handling of system signals.
143
- # * #warn: Issue a warning based on the given messages and options.
144
- #
145
- %a{annotate:rdoc:source:from=object.c}
146
- module Kernel : BasicObject
147
- # <!--
148
- # rdoc-file=vm_backtrace.c
149
- # - caller(start=1, length=nil) -> array or nil
150
- # - caller(range) -> array or nil
151
- # -->
152
- # Returns the current execution stack---an array containing strings in the form
153
- # `file:line` or `file:line: in `method'`.
154
- #
155
- # The optional *start* parameter determines the number of initial stack entries
156
- # to omit from the top of the stack.
157
- #
158
- # A second optional `length` parameter can be used to limit how many entries are
159
- # returned from the stack.
160
- #
161
- # Returns `nil` if *start* is greater than the size of current execution stack.
162
- #
163
- # Optionally you can pass a range, which will return an array containing the
164
- # entries within the specified range.
165
- #
166
- # def a(skip)
167
- # caller(skip)
168
- # end
169
- # def b(skip)
170
- # a(skip)
171
- # end
172
- # def c(skip)
173
- # b(skip)
174
- # end
175
- # c(0) #=> ["prog:2:in `a'", "prog:5:in `b'", "prog:8:in `c'", "prog:10:in `<main>'"]
176
- # c(1) #=> ["prog:5:in `b'", "prog:8:in `c'", "prog:11:in `<main>'"]
177
- # c(2) #=> ["prog:8:in `c'", "prog:12:in `<main>'"]
178
- # c(3) #=> ["prog:13:in `<main>'"]
179
- # c(4) #=> []
180
- # c(5) #=> nil
181
- #
182
- def self?.caller: (Integer start_or_range, ?Integer length) -> ::Array[String]?
183
- | (::Range[Integer] start_or_range) -> ::Array[String]?
184
- | () -> ::Array[String]
185
-
186
- # <!--
187
- # rdoc-file=vm_backtrace.c
188
- # - caller_locations(start=1, length=nil) -> array or nil
189
- # - caller_locations(range) -> array or nil
190
- # -->
191
- # Returns the current execution stack---an array containing backtrace location
192
- # objects.
193
- #
194
- # See Thread::Backtrace::Location for more information.
195
- #
196
- # The optional *start* parameter determines the number of initial stack entries
197
- # to omit from the top of the stack.
198
- #
199
- # A second optional `length` parameter can be used to limit how many entries are
200
- # returned from the stack.
201
- #
202
- # Returns `nil` if *start* is greater than the size of current execution stack.
203
- #
204
- # Optionally you can pass a range, which will return an array containing the
205
- # entries within the specified range.
206
- #
207
- def self?.caller_locations: (?Integer start_or_range, ?Integer length) -> ::Array[Thread::Backtrace::Location]?
208
- | (?::Range[Integer] start_or_range) -> ::Array[Thread::Backtrace::Location]?
209
-
210
- # <!--
211
- # rdoc-file=vm_eval.c
212
- # - catch([tag]) {|tag| block } -> obj
213
- # -->
214
- # `catch` executes its block. If `throw` is not called, the block executes
215
- # normally, and `catch` returns the value of the last expression evaluated.
216
- #
217
- # catch(1) { 123 } # => 123
218
- #
219
- # If `throw(tag2, val)` is called, Ruby searches up its stack for a `catch`
220
- # block whose `tag` has the same `object_id` as *tag2*. When found, the block
221
- # stops executing and returns *val* (or `nil` if no second argument was given to
222
- # `throw`).
223
- #
224
- # catch(1) { throw(1, 456) } # => 456
225
- # catch(1) { throw(1) } # => nil
226
- #
227
- # When `tag` is passed as the first argument, `catch` yields it as the parameter
228
- # of the block.
229
- #
230
- # catch(1) {|x| x + 2 } # => 3
231
- #
232
- # When no `tag` is given, `catch` yields a new unique object (as from
233
- # `Object.new`) as the block parameter. This object can then be used as the
234
- # argument to `throw`, and will match the correct `catch` block.
235
- #
236
- # catch do |obj_A|
237
- # catch do |obj_B|
238
- # throw(obj_B, 123)
239
- # puts "This puts is not reached"
240
- # end
241
- #
242
- # puts "This puts is displayed"
243
- # 456
244
- # end
245
- #
246
- # # => 456
247
- #
248
- # catch do |obj_A|
249
- # catch do |obj_B|
250
- # throw(obj_A, 123)
251
- # puts "This puts is still not reached"
252
- # end
253
- #
254
- # puts "Now this puts is also not reached"
255
- # 456
256
- # end
257
- #
258
- # # => 123
259
- #
260
- def self?.catch: [T] (T tag) { (T tag) -> untyped } -> untyped
261
- | () { (Object tag) -> untyped } -> untyped
262
-
263
- # <!--
264
- # rdoc-file=kernel.rb
265
- # - obj.class -> class
266
- # -->
267
- # Returns the class of *obj*. This method must always be called with an explicit
268
- # receiver, as #class is also a reserved word in Ruby.
269
- #
270
- # 1.class #=> Integer
271
- # self.class #=> Object
272
- #
273
- def class: () -> Class
274
-
275
- # <!--
276
- # rdoc-file=vm_eval.c
277
- # - eval(string [, binding [, filename [,lineno]]]) -> obj
278
- # -->
279
- # Evaluates the Ruby expression(s) in *string*. If *binding* is given, which
280
- # must be a Binding object, the evaluation is performed in its context. If the
281
- # optional *filename* and *lineno* parameters are present, they will be used
282
- # when reporting syntax errors.
283
- #
284
- # def get_binding(str)
285
- # return binding
286
- # end
287
- # str = "hello"
288
- # eval "str + ' Fred'" #=> "hello Fred"
289
- # eval "str + ' Fred'", get_binding("bye") #=> "bye Fred"
290
- #
291
- def self?.eval: (string src, ?Binding? scope, ?string filename, ?int lineno) -> untyped
292
-
293
- # <!--
294
- # rdoc-file=vm_eval.c
295
- # - block_given? -> true or false
296
- # -->
297
- # Returns `true` if `yield` would execute a block in the current context. The
298
- # `iterator?` form is mildly deprecated.
299
- #
300
- # def try
301
- # if block_given?
302
- # yield
303
- # else
304
- # "no block"
305
- # end
306
- # end
307
- # try #=> "no block"
308
- # try { "hello" } #=> "hello"
309
- # try do "hello" end #=> "hello"
310
- #
311
- def self?.block_given?: () -> bool
312
-
313
- # <!--
314
- # rdoc-file=vm_eval.c
315
- # - local_variables -> array
316
- # -->
317
- # Returns the names of the current local variables.
318
- #
319
- # fred = 1
320
- # for i in 1..10
321
- # # ...
322
- # end
323
- # local_variables #=> [:fred, :i]
324
- #
325
- def self?.local_variables: () -> ::Array[Symbol]
326
-
327
- # <!--
328
- # rdoc-file=random.c
329
- # - srand(number = Random.new_seed) -> old_seed
330
- # -->
331
- # Seeds the system pseudo-random number generator, with `number`. The previous
332
- # seed value is returned.
333
- #
334
- # If `number` is omitted, seeds the generator using a source of entropy provided
335
- # by the operating system, if available (/dev/urandom on Unix systems or the RSA
336
- # cryptographic provider on Windows), which is then combined with the time, the
337
- # process id, and a sequence number.
338
- #
339
- # srand may be used to ensure repeatable sequences of pseudo-random numbers
340
- # between different runs of the program. By setting the seed to a known value,
341
- # programs can be made deterministic during testing.
342
- #
343
- # srand 1234 # => 268519324636777531569100071560086917274
344
- # [ rand, rand ] # => [0.1915194503788923, 0.6221087710398319]
345
- # [ rand(10), rand(1000) ] # => [4, 664]
346
- # srand 1234 # => 1234
347
- # [ rand, rand ] # => [0.1915194503788923, 0.6221087710398319]
348
- #
349
- def self?.srand: (?int number) -> Integer
350
-
351
- # <!--
352
- # rdoc-file=process.c
353
- # - Process.fork { ... } -> integer or nil
354
- # - Process.fork -> integer or nil
355
- # -->
356
- # Creates a child process.
357
- #
358
- # With a block given, runs the block in the child process; on block exit, the
359
- # child terminates with a status of zero:
360
- #
361
- # puts "Before the fork: #{Process.pid}"
362
- # fork do
363
- # puts "In the child process: #{Process.pid}"
364
- # end # => 382141
365
- # puts "After the fork: #{Process.pid}"
366
- #
367
- # Output:
368
- #
369
- # Before the fork: 420496
370
- # After the fork: 420496
371
- # In the child process: 420520
372
- #
373
- # With no block given, the `fork` call returns twice:
374
- #
375
- # * Once in the parent process, returning the pid of the child process.
376
- # * Once in the child process, returning `nil`.
377
- #
378
- # Example:
379
- #
380
- # puts "This is the first line before the fork (pid #{Process.pid})"
381
- # puts fork
382
- # puts "This is the second line after the fork (pid #{Process.pid})"
383
- #
384
- # Output:
385
- #
386
- # This is the first line before the fork (pid 420199)
387
- # 420223
388
- # This is the second line after the fork (pid 420199)
389
- #
390
- # This is the second line after the fork (pid 420223)
391
- #
392
- # In either case, the child process may exit using Kernel.exit! to avoid the
393
- # call to Kernel#at_exit.
394
- #
395
- # To avoid zombie processes, the parent process should call either:
396
- #
397
- # * Process.wait, to collect the termination statuses of its children.
398
- # * Process.detach, to register disinterest in their status.
399
- #
400
- # The thread calling `fork` is the only thread in the created child process;
401
- # `fork` doesn't copy other threads.
402
- #
403
- # Note that method `fork` is available on some platforms, but not on others:
404
- #
405
- # Process.respond_to?(:fork) # => true # Would be false on some.
406
- #
407
- # If not, you may use ::spawn instead of `fork`.
408
- #
409
- def self?.fork: () -> Integer?
410
- | () { () -> void } -> Integer
411
-
412
- # <!--
413
- # rdoc-file=object.c
414
- # - Array(object) -> object or new_array
415
- # -->
416
- # Returns an array converted from `object`.
417
- #
418
- # Tries to convert `object` to an array using `to_ary` first and `to_a` second:
419
- #
420
- # Array([0, 1, 2]) # => [0, 1, 2]
421
- # Array({foo: 0, bar: 1}) # => [[:foo, 0], [:bar, 1]]
422
- # Array(0..4) # => [0, 1, 2, 3, 4]
423
- #
424
- # Returns `object` in an array, `[object]`, if `object` cannot be converted:
425
- #
426
- # Array(:foo) # => [:foo]
427
- #
428
- def self?.Array: (nil) -> []
429
- | [T] (array[T] | _ToA[T] array_like) -> Array[T]
430
- | [T] (T ele) -> [T]
431
-
432
- # <!--
433
- # rdoc-file=complex.c
434
- # - Complex(real, imag = 0, exception: true) -> complex or nil
435
- # - Complex(s, exception: true) -> complex or nil
436
- # -->
437
- # Returns a new Complex object if the arguments are valid; otherwise raises an
438
- # exception if `exception` is `true`; otherwise returns `nil`.
439
- #
440
- # With Numeric arguments `real` and `imag`, returns `Complex.rect(real, imag)`
441
- # if the arguments are valid.
442
- #
443
- # With string argument `s`, returns a new Complex object if the argument is
444
- # valid; the string may have:
445
- #
446
- # * One or two numeric substrings, each of which specifies a Complex, Float,
447
- # Integer, Numeric, or Rational value, specifying [rectangular
448
- # coordinates](rdoc-ref:Complex@Rectangular+Coordinates):
449
- #
450
- # * Sign-separated real and imaginary numeric substrings (with trailing
451
- # character `'i'`):
452
- #
453
- # Complex('1+2i') # => (1+2i)
454
- # Complex('+1+2i') # => (1+2i)
455
- # Complex('+1-2i') # => (1-2i)
456
- # Complex('-1+2i') # => (-1+2i)
457
- # Complex('-1-2i') # => (-1-2i)
458
- #
459
- # * Real-only numeric string (without trailing character `'i'`):
460
- #
461
- # Complex('1') # => (1+0i)
462
- # Complex('+1') # => (1+0i)
463
- # Complex('-1') # => (-1+0i)
464
- #
465
- # * Imaginary-only numeric string (with trailing character `'i'`):
466
- #
467
- # Complex('1i') # => (0+1i)
468
- # Complex('+1i') # => (0+1i)
469
- # Complex('-1i') # => (0-1i)
470
- #
471
- # * At-sign separated real and imaginary rational substrings, each of which
472
- # specifies a Rational value, specifying [polar
473
- # coordinates](rdoc-ref:Complex@Polar+Coordinates):
474
- #
475
- # Complex('1/2@3/4') # => (0.36584443443691045+0.34081938001166706i)
476
- # Complex('+1/2@+3/4') # => (0.36584443443691045+0.34081938001166706i)
477
- # Complex('+1/2@-3/4') # => (0.36584443443691045-0.34081938001166706i)
478
- # Complex('-1/2@+3/4') # => (-0.36584443443691045-0.34081938001166706i)
479
- # Complex('-1/2@-3/4') # => (-0.36584443443691045+0.34081938001166706i)
480
- #
481
- def self?.Complex: (_ToC complex_like, ?exception: true) -> Complex
482
- | (_ToC complex_like, exception: bool) -> Complex?
483
- | (Numeric | String real, ?Numeric | String imag, ?exception: true) -> Complex
484
- | (Numeric | String real, ?Numeric | String imag, exception: bool) -> Complex?
485
- | (untyped, ?untyped, ?exception: bool) -> Complex?
486
-
487
- # <!--
488
- # rdoc-file=kernel.rb
489
- # - Float(arg, exception: true) -> float or nil
490
- # -->
491
- # Returns *arg* converted to a float. Numeric types are converted directly, and
492
- # with exception to String and `nil`, the rest are converted using *arg*`.to_f`.
493
- # Converting a String with invalid characters will result in an ArgumentError.
494
- # Converting `nil` generates a TypeError. Exceptions can be suppressed by
495
- # passing `exception: false`.
496
- #
497
- # Float(1) #=> 1.0
498
- # Float("123.456") #=> 123.456
499
- # Float("123.0_badstring") #=> ArgumentError: invalid value for Float(): "123.0_badstring"
500
- # Float(nil) #=> TypeError: can't convert nil into Float
501
- # Float("123.0_badstring", exception: false) #=> nil
502
- #
503
- def self?.Float: (_ToF float_like, ?exception: true) -> Float
504
- | (_ToF float_like, exception: bool) -> Float?
505
- | (untyped, ?exception: bool) -> Float?
506
-
507
- # <!--
508
- # rdoc-file=object.c
509
- # - Hash(object) -> object or new_hash
510
- # -->
511
- # Returns a hash converted from `object`.
512
- #
513
- # * If `object` is:
514
- #
515
- # * A hash, returns `object`.
516
- # * An empty array or `nil`, returns an empty hash.
517
- #
518
- # * Otherwise, if `object.to_hash` returns a hash, returns that hash.
519
- # * Otherwise, returns TypeError.
520
- #
521
- # Examples:
522
- #
523
- # Hash({foo: 0, bar: 1}) # => {:foo=>0, :bar=>1}
524
- # Hash(nil) # => {}
525
- # Hash([]) # => {}
526
- #
527
- def self?.Hash: [K, V] (nil | [] _empty) -> Hash[K, V]
528
- | [K, V] (hash[K, V] hash_like) -> Hash[K, V]
529
-
530
- # <!--
531
- # rdoc-file=kernel.rb
532
- # - Integer(object, base = 0, exception: true) -> integer or nil
533
- # -->
534
- # Returns an integer converted from `object`.
535
- #
536
- # Tries to convert `object` to an integer using `to_int` first and `to_i`
537
- # second; see below for exceptions.
538
- #
539
- # With a non-zero `base`, `object` must be a string or convertible to a string.
540
- #
541
- # #### Numeric objects
542
- #
543
- # With an integer argument `object` given, returns `object`:
544
- #
545
- # Integer(1) # => 1
546
- # Integer(-1) # => -1
547
- #
548
- # With a floating-point argument `object` given, returns `object` truncated to
549
- # an integer:
550
- #
551
- # Integer(1.9) # => 1 # Rounds toward zero.
552
- # Integer(-1.9) # => -1 # Rounds toward zero.
553
- #
554
- # #### String objects
555
- #
556
- # With a string argument `object` and zero `base` given, returns `object`
557
- # converted to an integer in base 10:
558
- #
559
- # Integer('100') # => 100
560
- # Integer('-100') # => -100
561
- #
562
- # With `base` zero, string `object` may contain leading characters to specify
563
- # the actual base (radix indicator):
564
- #
565
- # Integer('0100') # => 64 # Leading '0' specifies base 8.
566
- # Integer('0b100') # => 4 # Leading '0b' specifies base 2.
567
- # Integer('0x100') # => 256 # Leading '0x' specifies base 16.
568
- #
569
- # With a positive `base` (in range 2..36) given, returns `object` converted to
570
- # an integer in the given base:
571
- #
572
- # Integer('100', 2) # => 4
573
- # Integer('100', 8) # => 64
574
- # Integer('-100', 16) # => -256
575
- #
576
- # With a negative `base` (in range -36..-2) given, returns `object` converted to
577
- # the radix indicator if it exists or `base`:
578
- #
579
- # Integer('0x100', -2) # => 256
580
- # Integer('100', -2) # => 4
581
- # Integer('0b100', -8) # => 4
582
- # Integer('100', -8) # => 64
583
- # Integer('0o100', -10) # => 64
584
- # Integer('100', -10) # => 100
585
- #
586
- # `base` -1 is equivalent to the -10 case.
587
- #
588
- # When converting strings, surrounding whitespace and embedded underscores are
589
- # allowed and ignored:
590
- #
591
- # Integer(' 100 ') # => 100
592
- # Integer('-1_0_0', 16) # => -256
593
- #
594
- # #### Other classes
595
- #
596
- # Examples with `object` of various other classes:
597
- #
598
- # Integer(Rational(9, 10)) # => 0 # Rounds toward zero.
599
- # Integer(Complex(2, 0)) # => 2 # Imaginary part must be zero.
600
- # Integer(Time.now) # => 1650974042
601
- #
602
- # #### Keywords
603
- #
604
- # With the optional keyword argument `exception` given as `true` (the default):
605
- #
606
- # * Raises TypeError if `object` does not respond to `to_int` or `to_i`.
607
- # * Raises TypeError if `object` is `nil`.
608
- # * Raises ArgumentError if `object` is an invalid string.
609
- #
610
- # With `exception` given as `false`, an exception of any kind is suppressed and
611
- # `nil` is returned.
612
- #
613
- def self?.Integer: (int | _ToI int_like, ?exception: true) -> Integer
614
- | (int | _ToI int_like, exception: bool) -> Integer?
615
- | (string str, int base, ?exception: true) -> Integer
616
- | (string str, int base, exception: bool) -> Integer?
617
- | (untyped, ?untyped, ?exception: bool) -> Integer?
618
-
619
- # <!--
620
- # rdoc-file=rational.c
621
- # - Rational(x, y, exception: true) -> rational or nil
622
- # - Rational(arg, exception: true) -> rational or nil
623
- # -->
624
- # Returns `x/y` or `arg` as a Rational.
625
- #
626
- # Rational(2, 3) #=> (2/3)
627
- # Rational(5) #=> (5/1)
628
- # Rational(0.5) #=> (1/2)
629
- # Rational(0.3) #=> (5404319552844595/18014398509481984)
630
- #
631
- # Rational("2/3") #=> (2/3)
632
- # Rational("0.3") #=> (3/10)
633
- #
634
- # Rational("10 cents") #=> ArgumentError
635
- # Rational(nil) #=> TypeError
636
- # Rational(1, nil) #=> TypeError
637
- #
638
- # Rational("10 cents", exception: false) #=> nil
639
- #
640
- # Syntax of the string form:
641
- #
642
- # string form = extra spaces , rational , extra spaces ;
643
- # rational = [ sign ] , unsigned rational ;
644
- # unsigned rational = numerator | numerator , "/" , denominator ;
645
- # numerator = integer part | fractional part | integer part , fractional part ;
646
- # denominator = digits ;
647
- # integer part = digits ;
648
- # fractional part = "." , digits , [ ( "e" | "E" ) , [ sign ] , digits ] ;
649
- # sign = "-" | "+" ;
650
- # digits = digit , { digit | "_" , digit } ;
651
- # digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
652
- # extra spaces = ? \s* ? ;
653
- #
654
- # See also String#to_r.
655
- #
656
- def self?.Rational: (int | _ToR rational_like, ?exception: true) -> Rational
657
- | (int | _ToR rational_like, exception: bool) -> Rational?
658
- | (int | _ToR numer, ?int | _ToR denom, ?exception: true) -> Rational
659
- | (int | _ToR numer, ?int | _ToR denom, exception: bool) -> Rational?
660
- | [T] (Numeric & _RationalDiv[T] numer, Numeric denom, ?exception: bool) -> T
661
- | [T < Numeric] (T value, 1, ?exception: bool) -> T
662
- | (untyped, ?untyped, ?exception: bool) -> Rational?
663
-
664
- interface _RationalDiv[T]
665
- def /: (Numeric) -> T
666
- end
667
-
668
- # <!--
669
- # rdoc-file=object.c
670
- # - String(object) -> object or new_string
671
- # -->
672
- # Returns a string converted from `object`.
673
- #
674
- # Tries to convert `object` to a string using `to_str` first and `to_s` second:
675
- #
676
- # String([0, 1, 2]) # => "[0, 1, 2]"
677
- # String(0..5) # => "0..5"
678
- # String({foo: 0, bar: 1}) # => "{foo: 0, bar: 1}"
679
- #
680
- # Raises `TypeError` if `object` cannot be converted to a string.
681
- #
682
- def self?.String: (string | _ToS string_like) -> String
683
-
684
- # <!--
685
- # rdoc-file=eval.c
686
- # - __callee__ -> symbol
687
- # -->
688
- # Returns the called name of the current method as a Symbol. If called outside
689
- # of a method, it returns `nil`.
690
- #
691
- def self?.__callee__: () -> Symbol?
692
-
693
- # <!--
694
- # rdoc-file=eval.c
695
- # - __dir__ -> string
696
- # -->
697
- # Returns the canonicalized absolute path of the directory of the file from
698
- # which this method is called. It means symlinks in the path is resolved. If
699
- # `__FILE__` is `nil`, it returns `nil`. The return value equals to
700
- # `File.dirname(File.realpath(__FILE__))`.
701
- #
702
- def self?.__dir__: () -> String?
703
-
704
- # <!--
705
- # rdoc-file=eval.c
706
- # - __method__ -> symbol
707
- # -->
708
- # Returns the name at the definition of the current method as a Symbol. If
709
- # called outside of a method, it returns `nil`.
710
- #
711
- def self?.__method__: () -> Symbol?
712
-
713
- # <!--
714
- # rdoc-file=io.c
715
- # - `command` -> string
716
- # -->
717
- # Returns the `$stdout` output from running `command` in a subshell; sets global
718
- # variable `$?` to the process status.
719
- #
720
- # This method has potential security vulnerabilities if called with untrusted
721
- # input; see [Command Injection](rdoc-ref:command_injection.rdoc).
722
- #
723
- # Examples:
724
- #
725
- # $ `date` # => "Wed Apr 9 08:56:30 CDT 2003\n"
726
- # $ `echo oops && exit 99` # => "oops\n"
727
- # $ $? # => #<Process::Status: pid 17088 exit 99>
728
- # $ $?.status # => 99>
729
- #
730
- # The built-in syntax `%x{...}` uses this method.
731
- #
732
- def self?.`: (String arg0) -> String
733
-
734
- # <!--
735
- # rdoc-file=process.c
736
- # - abort
737
- # - Process.abort(msg = nil)
738
- # -->
739
- # Terminates execution immediately, effectively by calling `Kernel.exit(false)`.
740
- #
741
- # If string argument `msg` is given, it is written to STDERR prior to
742
- # termination; otherwise, if an exception was raised, prints its message and
743
- # backtrace.
744
- #
745
- def self?.abort: (?string msg) -> bot
746
-
747
- # <!--
748
- # rdoc-file=eval_jump.c
749
- # - at_exit { block } -> proc
750
- # -->
751
- # Converts *block* to a `Proc` object (and therefore binds it at the point of
752
- # call) and registers it for execution when the program exits. If multiple
753
- # handlers are registered, they are executed in reverse order of registration.
754
- #
755
- # def do_at_exit(str1)
756
- # at_exit { print str1 }
757
- # end
758
- # at_exit { puts "cruel world" }
759
- # do_at_exit("goodbye ")
760
- # exit
761
- #
762
- # *produces:*
763
- #
764
- # goodbye cruel world
765
- #
766
- def self?.at_exit: () { () -> void } -> Proc
767
-
768
- # <!--
769
- # rdoc-file=load.c
770
- # - autoload(const, filename) -> nil
771
- # -->
772
- # Registers *filename* to be loaded (using Kernel::require) the first time that
773
- # *const* (which may be a String or a symbol) is accessed.
774
- #
775
- # autoload(:MyModule, "/usr/local/lib/modules/my_module.rb")
776
- #
777
- # If *const* is defined as autoload, the file name to be loaded is replaced with
778
- # *filename*. If *const* is defined but not as autoload, does nothing.
779
- #
780
- def self?.autoload: (interned _module, String filename) -> NilClass
781
-
782
- # <!--
783
- # rdoc-file=load.c
784
- # - autoload?(name, inherit=true) -> String or nil
785
- # -->
786
- # Returns *filename* to be loaded if *name* is registered as `autoload` in the
787
- # current namespace or one of its ancestors.
788
- #
789
- # autoload(:B, "b")
790
- # autoload?(:B) #=> "b"
791
- #
792
- # module C
793
- # autoload(:D, "d")
794
- # autoload?(:D) #=> "d"
795
- # autoload?(:B) #=> nil
796
- # end
797
- #
798
- # class E
799
- # autoload(:F, "f")
800
- # autoload?(:F) #=> "f"
801
- # autoload?(:B) #=> "b"
802
- # end
803
- #
804
- def self?.autoload?: (interned name) -> String?
805
-
806
- # <!--
807
- # rdoc-file=proc.c
808
- # - binding -> a_binding
809
- # -->
810
- # Returns a Binding object, describing the variable and method bindings at the
811
- # point of call. This object can be used when calling Binding#eval to execute
812
- # the evaluated command in this environment, or extracting its local variables.
813
- #
814
- # class User
815
- # def initialize(name, position)
816
- # @name = name
817
- # @position = position
818
- # end
819
- #
820
- # def get_binding
821
- # binding
822
- # end
823
- # end
824
- #
825
- # user = User.new('Joan', 'manager')
826
- # template = '{name: @name, position: @position}'
827
- #
828
- # # evaluate template in context of the object
829
- # eval(template, user.get_binding)
830
- # #=> {:name=>"Joan", :position=>"manager"}
831
- #
832
- # Binding#local_variable_get can be used to access the variables whose names are
833
- # reserved Ruby keywords:
834
- #
835
- # # This is valid parameter declaration, but `if` parameter can't
836
- # # be accessed by name, because it is a reserved word.
837
- # def validate(field, validation, if: nil)
838
- # condition = binding.local_variable_get('if')
839
- # return unless condition
840
- #
841
- # # ...Some implementation ...
842
- # end
843
- #
844
- # validate(:name, :empty?, if: false) # skips validation
845
- # validate(:name, :empty?, if: true) # performs validation
846
- #
847
- def self?.binding: () -> Binding
848
-
849
- # <!--
850
- # rdoc-file=process.c
851
- # - exit(status = true)
852
- # - Process.exit(status = true)
853
- # -->
854
- # Initiates termination of the Ruby script by raising SystemExit; the exception
855
- # may be caught. Returns exit status `status` to the underlying operating
856
- # system.
857
- #
858
- # Values `true` and `false` for argument `status` indicate, respectively,
859
- # success and failure; The meanings of integer values are system-dependent.
860
- #
861
- # Example:
862
- #
863
- # begin
864
- # exit
865
- # puts 'Never get here.'
866
- # rescue SystemExit
867
- # puts 'Rescued a SystemExit exception.'
868
- # end
869
- # puts 'After begin block.'
870
- #
871
- # Output:
872
- #
873
- # Rescued a SystemExit exception.
874
- # After begin block.
875
- #
876
- # Just prior to final termination, Ruby executes any at-exit procedures (see
877
- # Kernel::at_exit) and any object finalizers (see
878
- # ObjectSpace::define_finalizer).
879
- #
880
- # Example:
881
- #
882
- # at_exit { puts 'In at_exit function.' }
883
- # ObjectSpace.define_finalizer('string', proc { puts 'In finalizer.' })
884
- # exit
885
- #
886
- # Output:
887
- #
888
- # In at_exit function.
889
- # In finalizer.
890
- #
891
- def self?.exit: (?int | bool status) -> bot
892
-
893
- # <!--
894
- # rdoc-file=process.c
895
- # - exit!(status = false)
896
- # - Process.exit!(status = false)
897
- # -->
898
- # Exits the process immediately; no exit handlers are called. Returns exit
899
- # status `status` to the underlying operating system.
900
- #
901
- # Process.exit!(true)
902
- #
903
- # Values `true` and `false` for argument `status` indicate, respectively,
904
- # success and failure; The meanings of integer values are system-dependent.
905
- #
906
- def self?.exit!: (?int | bool status) -> bot
907
-
908
- # <!-- rdoc-file=eval.c -->
909
- # Raises an exception; see [Exceptions](rdoc-ref:exceptions.md).
910
- #
911
- # Argument `exception` sets the class of the new exception; it should be class
912
- # Exception or one of its subclasses (most commonly, RuntimeError or
913
- # StandardError), or an instance of one of those classes:
914
- #
915
- # begin
916
- # raise(StandardError)
917
- # rescue => x
918
- # p x.class
919
- # end
920
- # # => StandardError
921
- #
922
- # Argument `message` sets the stored message in the new exception, which may be
923
- # retrieved by method Exception#message; the message must be a
924
- # [string-convertible
925
- # object](rdoc-ref:implicit_conversion.rdoc@String-Convertible+Objects) or
926
- # `nil`:
927
- #
928
- # begin
929
- # raise(StandardError, 'Boom')
930
- # rescue => x
931
- # p x.message
932
- # end
933
- # # => "Boom"
934
- #
935
- # If argument `message` is not given, the message is the exception class name.
936
- #
937
- # See [Messages](rdoc-ref:exceptions.md@Messages).
938
- #
939
- # Argument `backtrace` sets the stored backtrace in the new exception, which may
940
- # be retrieved by method Exception#backtrace; the backtrace must be an array of
941
- # strings or `nil`:
942
- #
943
- # begin
944
- # raise(StandardError, 'Boom', %w[foo bar baz])
945
- # rescue => x
946
- # p x.backtrace
947
- # end
948
- # # => ["foo", "bar", "baz"]
949
- #
950
- # If argument `backtrace` is not given, the backtrace is set according to an
951
- # array of Thread::Backtrace::Location objects, as derived from the call stack.
952
- #
953
- # See [Backtraces](rdoc-ref:exceptions.md@Backtraces).
954
- #
955
- # Keyword argument `cause` sets the stored cause in the new exception, which may
956
- # be retrieved by method Exception#cause; the cause must be an exception object
957
- # (Exception or one of its subclasses), or `nil`:
958
- #
959
- # begin
960
- # raise(StandardError, cause: RuntimeError.new)
961
- # rescue => x
962
- # p x.cause
963
- # end
964
- # # => #<RuntimeError: RuntimeError>
965
- #
966
- # If keyword argument `cause` is not given, the cause is the value of `$!`.
967
- #
968
- # See [Cause](rdoc-ref:exceptions.md@Cause).
969
- #
970
- # In the alternate calling sequence, where argument `exception` *not* given,
971
- # raises a new exception of the class given by `$!`, or of class RuntimeError if
972
- # `$!` is `nil`:
973
- #
974
- # begin
975
- # raise
976
- # rescue => x
977
- # p x
978
- # end
979
- # # => RuntimeError
980
- #
981
- # With argument `exception` not given, argument `message` and keyword argument
982
- # `cause` may be given, but argument `backtrace` may not be given.
983
- #
984
- def self?.fail: () -> bot
985
- | (string message, ?cause: Exception?) -> bot
986
- | (_Exception exception, ?_ToS? message, ?String | Array[String] | Array[Thread::Backtrace::Location] | nil backtrace, ?cause: Exception?) -> bot
987
- | (_Exception exception, ?cause: Exception?, **untyped) -> bot
988
-
989
- # <!--
990
- # rdoc-file=eval.c
991
- # - raise(exception, message = exception.to_s, backtrace = nil, cause: $!)
992
- # - raise(message = nil, cause: $!)
993
- # -->
994
- # Raises an exception; see [Exceptions](rdoc-ref:exceptions.md).
995
- #
996
- # Argument `exception` sets the class of the new exception; it should be class
997
- # Exception or one of its subclasses (most commonly, RuntimeError or
998
- # StandardError), or an instance of one of those classes:
999
- #
1000
- # begin
1001
- # raise(StandardError)
1002
- # rescue => x
1003
- # p x.class
1004
- # end
1005
- # # => StandardError
1006
- #
1007
- # Argument `message` sets the stored message in the new exception, which may be
1008
- # retrieved by method Exception#message; the message must be a
1009
- # [string-convertible
1010
- # object](rdoc-ref:implicit_conversion.rdoc@String-Convertible+Objects) or
1011
- # `nil`:
1012
- #
1013
- # begin
1014
- # raise(StandardError, 'Boom')
1015
- # rescue => x
1016
- # p x.message
1017
- # end
1018
- # # => "Boom"
1019
- #
1020
- # If argument `message` is not given, the message is the exception class name.
1021
- #
1022
- # See [Messages](rdoc-ref:exceptions.md@Messages).
1023
- #
1024
- # Argument `backtrace` sets the stored backtrace in the new exception, which may
1025
- # be retrieved by method Exception#backtrace; the backtrace must be an array of
1026
- # strings or `nil`:
1027
- #
1028
- # begin
1029
- # raise(StandardError, 'Boom', %w[foo bar baz])
1030
- # rescue => x
1031
- # p x.backtrace
1032
- # end
1033
- # # => ["foo", "bar", "baz"]
1034
- #
1035
- # If argument `backtrace` is not given, the backtrace is set according to an
1036
- # array of Thread::Backtrace::Location objects, as derived from the call stack.
1037
- #
1038
- # See [Backtraces](rdoc-ref:exceptions.md@Backtraces).
1039
- #
1040
- # Keyword argument `cause` sets the stored cause in the new exception, which may
1041
- # be retrieved by method Exception#cause; the cause must be an exception object
1042
- # (Exception or one of its subclasses), or `nil`:
1043
- #
1044
- # begin
1045
- # raise(StandardError, cause: RuntimeError.new)
1046
- # rescue => x
1047
- # p x.cause
1048
- # end
1049
- # # => #<RuntimeError: RuntimeError>
1050
- #
1051
- # If keyword argument `cause` is not given, the cause is the value of `$!`.
1052
- #
1053
- # See [Cause](rdoc-ref:exceptions.md@Cause).
1054
- #
1055
- # In the alternate calling sequence, where argument `exception` *not* given,
1056
- # raises a new exception of the class given by `$!`, or of class RuntimeError if
1057
- # `$!` is `nil`:
1058
- #
1059
- # begin
1060
- # raise
1061
- # rescue => x
1062
- # p x
1063
- # end
1064
- # # => RuntimeError
1065
- #
1066
- # With argument `exception` not given, argument `message` and keyword argument
1067
- # `cause` may be given, but argument `backtrace` may not be given.
1068
- #
1069
- alias raise fail
1070
-
1071
- alias self.raise self.fail
1072
-
1073
- # <!-- rdoc-file=object.c -->
1074
- # Returns the string resulting from formatting `objects` into `format_string`.
1075
- #
1076
- # For details on `format_string`, see [Format
1077
- # Specifications](rdoc-ref:format_specifications.rdoc).
1078
- #
1079
- def self?.format: (String format, *untyped args) -> String
1080
-
1081
- # <!--
1082
- # rdoc-file=object.c
1083
- # - sprintf(format_string *objects) -> string
1084
- # -->
1085
- # Returns the string resulting from formatting `objects` into `format_string`.
1086
- #
1087
- # For details on `format_string`, see [Format
1088
- # Specifications](rdoc-ref:format_specifications.rdoc).
1089
- #
1090
- alias sprintf format
1091
-
1092
- alias self.sprintf self.format
1093
-
1094
- # <!--
1095
- # rdoc-file=io.c
1096
- # - gets(sep=$/ [, getline_args]) -> string or nil
1097
- # - gets(limit [, getline_args]) -> string or nil
1098
- # - gets(sep, limit [, getline_args]) -> string or nil
1099
- # -->
1100
- # Returns (and assigns to `$_`) the next line from the list of files in `ARGV`
1101
- # (or `$*`), or from standard input if no files are present on the command line.
1102
- # Returns `nil` at end of file. The optional argument specifies the record
1103
- # separator. The separator is included with the contents of each record. A
1104
- # separator of `nil` reads the entire contents, and a zero-length separator
1105
- # reads the input one paragraph at a time, where paragraphs are divided by two
1106
- # consecutive newlines. If the first argument is an integer, or optional second
1107
- # argument is given, the returning string would not be longer than the given
1108
- # value in bytes. If multiple filenames are present in `ARGV`, `gets(nil)` will
1109
- # read the contents one file at a time.
1110
- #
1111
- # ARGV << "testfile"
1112
- # print while gets
1113
- #
1114
- # *produces:*
1115
- #
1116
- # This is line one
1117
- # This is line two
1118
- # This is line three
1119
- # And so on...
1120
- #
1121
- # The style of programming using `$_` as an implicit parameter is gradually
1122
- # losing favor in the Ruby community.
1123
- #
1124
- def self?.gets: (?String arg0, ?Integer arg1) -> String?
1125
-
1126
- # <!--
1127
- # rdoc-file=eval.c
1128
- # - global_variables -> array
1129
- # -->
1130
- # Returns an array of the names of global variables. This includes special
1131
- # regexp global variables such as `$~` and `$+`, but does not include the
1132
- # numbered regexp global variables (`$1`, `$2`, etc.).
1133
- #
1134
- # global_variables.grep /std/ #=> [:$stdin, :$stdout, :$stderr]
1135
- #
1136
- def self?.global_variables: () -> ::Array[Symbol]
1137
-
1138
- # <!--
1139
- # rdoc-file=load.c
1140
- # - load(filename, wrap=false) -> true
1141
- # -->
1142
- # Loads and executes the Ruby program in the file *filename*.
1143
- #
1144
- # If the filename is an absolute path (e.g. starts with '/'), the file will be
1145
- # loaded directly using the absolute path.
1146
- #
1147
- # If the filename is an explicit relative path (e.g. starts with './' or '../'),
1148
- # the file will be loaded using the relative path from the current directory.
1149
- #
1150
- # Otherwise, the file will be searched for in the library directories listed in
1151
- # `$LOAD_PATH` (`$:`). If the file is found in a directory, it will attempt to
1152
- # load the file relative to that directory. If the file is not found in any of
1153
- # the directories in `$LOAD_PATH`, the file will be loaded using the relative
1154
- # path from the current directory.
1155
- #
1156
- # If the file doesn't exist when there is an attempt to load it, a LoadError
1157
- # will be raised.
1158
- #
1159
- # If the optional *wrap* parameter is `true`, the loaded script will be executed
1160
- # under an anonymous module. If the optional *wrap* parameter is a module, the
1161
- # loaded script will be executed under the given module. In no circumstance will
1162
- # any local variables in the loaded file be propagated to the loading
1163
- # environment.
1164
- #
1165
- def self?.load: (String filename, ?Module | bool) -> bool
1166
-
1167
- # <!--
1168
- # rdoc-file=kernel.rb
1169
- # - loop { block }
1170
- # - loop -> an_enumerator
1171
- # -->
1172
- # Repeatedly executes the block.
1173
- #
1174
- # If no block is given, an enumerator is returned instead.
1175
- #
1176
- # loop do
1177
- # print "Input: "
1178
- # line = gets
1179
- # break if !line or line =~ /^q/i
1180
- # # ...
1181
- # end
1182
- #
1183
- # A StopIteration raised in the block breaks the loop. In this case, loop
1184
- # returns the "result" value stored in the exception.
1185
- #
1186
- # enum = Enumerator.new { |y|
1187
- # y << "one"
1188
- # y << "two"
1189
- # :ok
1190
- # }
1191
- #
1192
- # result = loop {
1193
- # puts enum.next
1194
- # } #=> :ok
1195
- #
1196
- def self?.loop: () { () -> void } -> bot
1197
- | () -> ::Enumerator[nil, bot]
1198
-
1199
- # <!--
1200
- # rdoc-file=io.c
1201
- # - open(path, mode = 'r', perm = 0666, **opts) -> io or nil
1202
- # - open(path, mode = 'r', perm = 0666, **opts) {|io| ... } -> obj
1203
- # -->
1204
- # Creates an IO object connected to the given file.
1205
- #
1206
- # This method has potential security vulnerabilities if called with untrusted
1207
- # input; see [Command Injection](rdoc-ref:command_injection.rdoc).
1208
- #
1209
- # With no block given, file stream is returned:
1210
- #
1211
- # open('t.txt') # => #<File:t.txt>
1212
- #
1213
- # With a block given, calls the block with the open file stream, then closes the
1214
- # stream:
1215
- #
1216
- # open('t.txt') {|f| p f } # => #<File:t.txt (closed)>
1217
- #
1218
- # Output:
1219
- #
1220
- # #<File:t.txt>
1221
- #
1222
- # See File.open for details.
1223
- #
1224
- def self?.open: (String name, ?String mode, ?Integer perm) -> IO?
1225
- | [T] (String name, ?String mode, ?Integer perm) { (IO) -> T } -> T
1226
-
1227
- # <!--
1228
- # rdoc-file=io.c
1229
- # - print(*objects) -> nil
1230
- # -->
1231
- # Equivalent to `$stdout.print(*objects)`, this method is the straightforward
1232
- # way to write to `$stdout`.
1233
- #
1234
- # Writes the given objects to `$stdout`; returns `nil`. Appends the output
1235
- # record separator `$OUTPUT_RECORD_SEPARATOR` `$\`), if it is not `nil`.
1236
- #
1237
- # With argument `objects` given, for each object:
1238
- #
1239
- # * Converts via its method `to_s` if not a string.
1240
- # * Writes to `stdout`.
1241
- # * If not the last object, writes the output field separator
1242
- # `$OUTPUT_FIELD_SEPARATOR` (`$,` if it is not `nil`.
1243
- #
1244
- # With default separators:
1245
- #
1246
- # objects = [0, 0.0, Rational(0, 1), Complex(0, 0), :zero, 'zero']
1247
- # $OUTPUT_RECORD_SEPARATOR
1248
- # $OUTPUT_FIELD_SEPARATOR
1249
- # print(*objects)
1250
- #
1251
- # Output:
1252
- #
1253
- # nil
1254
- # nil
1255
- # 00.00/10+0izerozero
1256
- #
1257
- # With specified separators:
1258
- #
1259
- # $OUTPUT_RECORD_SEPARATOR = "\n"
1260
- # $OUTPUT_FIELD_SEPARATOR = ','
1261
- # print(*objects)
1262
- #
1263
- # Output:
1264
- #
1265
- # 0,0.0,0/1,0+0i,zero,zero
1266
- #
1267
- # With no argument given, writes the content of `$_` (which is usually the most
1268
- # recent user input):
1269
- #
1270
- # gets # Sets $_ to the most recent user input.
1271
- # print # Prints $_.
1272
- #
1273
- def self?.print: (*_ToS args) -> nil
1274
-
1275
- # <!--
1276
- # rdoc-file=io.c
1277
- # - printf(format_string, *objects) -> nil
1278
- # - printf(io, format_string, *objects) -> nil
1279
- # -->
1280
- # Equivalent to:
1281
- #
1282
- # io.write(sprintf(format_string, *objects))
1283
- #
1284
- # For details on `format_string`, see [Format
1285
- # Specifications](rdoc-ref:format_specifications.rdoc).
1286
- #
1287
- # With the single argument `format_string`, formats `objects` into the string,
1288
- # then writes the formatted string to $stdout:
1289
- #
1290
- # printf('%4.4d %10s %2.2f', 24, 24, 24.0)
1291
- #
1292
- # Output (on $stdout):
1293
- #
1294
- # 0024 24 24.00#
1295
- #
1296
- # With arguments `io` and `format_string`, formats `objects` into the string,
1297
- # then writes the formatted string to `io`:
1298
- #
1299
- # printf($stderr, '%4.4d %10s %2.2f', 24, 24, 24.0)
1300
- #
1301
- # Output (on $stderr):
1302
- #
1303
- # 0024 24 24.00# => nil
1304
- #
1305
- # With no arguments, does nothing.
1306
- #
1307
- def self?.printf: () -> nil
1308
- | (String fmt, *untyped args) -> nil
1309
- | (_Writer io, string fmt, *untyped args) -> nil
1310
-
1311
- # <!--
1312
- # rdoc-file=proc.c
1313
- # - proc { |...| block } -> a_proc
1314
- # -->
1315
- # Equivalent to Proc.new.
1316
- #
1317
- def self?.proc: () { (?) -> untyped } -> Proc
1318
-
1319
- # <!--
1320
- # rdoc-file=proc.c
1321
- # - lambda { |...| block } -> a_proc
1322
- # -->
1323
- # Equivalent to Proc.new, except the resulting Proc objects check the number of
1324
- # parameters passed when called.
1325
- #
1326
- def self?.lambda: () { () -> untyped } -> Proc
1327
-
1328
- # <!--
1329
- # rdoc-file=io.c
1330
- # - putc(int) -> int
1331
- # -->
1332
- # Equivalent to:
1333
- #
1334
- # $stdout.putc(int)
1335
- #
1336
- # See IO#putc for important information regarding multi-byte characters.
1337
- #
1338
- def self?.putc: [T < _ToInt] (T chr) -> T
1339
- | (String chr) -> String
1340
-
1341
- # <!--
1342
- # rdoc-file=io.c
1343
- # - puts(*objects) -> nil
1344
- # -->
1345
- # Equivalent to
1346
- #
1347
- # $stdout.puts(objects)
1348
- #
1349
- def self?.puts: (*_ToS objects) -> nil
1350
-
1351
- # <!--
1352
- # rdoc-file=io.c
1353
- # - p(object) -> obj
1354
- # - p(*objects) -> array of objects
1355
- # - p -> nil
1356
- # -->
1357
- # For each object `obj`, executes:
1358
- #
1359
- # $stdout.write(obj.inspect, "\n")
1360
- #
1361
- # With one object given, returns the object; with multiple objects given,
1362
- # returns an array containing the objects; with no object given, returns `nil`.
1363
- #
1364
- # Examples:
1365
- #
1366
- # r = Range.new(0, 4)
1367
- # p r # => 0..4
1368
- # p [r, r, r] # => [0..4, 0..4, 0..4]
1369
- # p # => nil
1370
- #
1371
- # Output:
1372
- #
1373
- # 0..4
1374
- # [0..4, 0..4, 0..4]
1375
- #
1376
- # Kernel#p is designed for debugging purposes. Ruby implementations may define
1377
- # Kernel#p to be uninterruptible in whole or in part. On CRuby, Kernel#p's
1378
- # writing of data is uninterruptible.
1379
- #
1380
- def self?.p: [T < _Inspect] (T arg0) -> T
1381
- | (_Inspect arg0, _Inspect arg1, *_Inspect rest) -> Array[_Inspect]
1382
- | () -> nil
1383
-
1384
- # <!--
1385
- # rdoc-file=lib/pp.rb
1386
- # - pp(*objs)
1387
- # -->
1388
- # prints arguments in pretty form.
1389
- #
1390
- # `#pp` returns argument(s).
1391
- #
1392
- def self?.pp: [T] (T arg0) -> T
1393
- | (untyped, untyped, *untyped) -> Array[untyped]
1394
- | () -> nil
1395
-
1396
- # <!--
1397
- # rdoc-file=random.c
1398
- # - rand(max=0) -> number
1399
- # -->
1400
- # If called without an argument, or if `max.to_i.abs == 0`, rand returns a
1401
- # pseudo-random floating point number between 0.0 and 1.0, including 0.0 and
1402
- # excluding 1.0.
1403
- #
1404
- # rand #=> 0.2725926052826416
1405
- #
1406
- # When `max.abs` is greater than or equal to 1, `rand` returns a pseudo-random
1407
- # integer greater than or equal to 0 and less than `max.to_i.abs`.
1408
- #
1409
- # rand(100) #=> 12
1410
- #
1411
- # When `max` is a Range, `rand` returns a random number where
1412
- # `range.member?(number) == true`.
1413
- #
1414
- # Negative or floating point values for `max` are allowed, but may give
1415
- # surprising results.
1416
- #
1417
- # rand(-100) # => 87
1418
- # rand(-0.5) # => 0.8130921818028143
1419
- # rand(1.9) # equivalent to rand(1), which is always 0
1420
- #
1421
- # Kernel.srand may be used to ensure that sequences of random numbers are
1422
- # reproducible between different runs of a program.
1423
- #
1424
- # See also Random.rand.
1425
- #
1426
- def self?.rand: (?0) -> Float
1427
- | (int arg0) -> Integer
1428
- | (::Range[Integer] arg0) -> Integer?
1429
- | (::Range[Float] arg0) -> Float?
1430
-
1431
- # <!--
1432
- # rdoc-file=io.c
1433
- # - readline(sep = $/, chomp: false) -> string
1434
- # - readline(limit, chomp: false) -> string
1435
- # - readline(sep, limit, chomp: false) -> string
1436
- # -->
1437
- # Equivalent to method Kernel#gets, except that it raises an exception if called
1438
- # at end-of-stream:
1439
- #
1440
- # $ cat t.txt | ruby -e "p readlines; readline"
1441
- # ["First line\n", "Second line\n", "\n", "Fourth line\n", "Fifth line\n"]
1442
- # in `readline': end of file reached (EOFError)
1443
- #
1444
- # Optional keyword argument `chomp` specifies whether line separators are to be
1445
- # omitted.
1446
- #
1447
- def self?.readline: (?String arg0, ?Integer arg1) -> String
1448
-
1449
- # <!--
1450
- # rdoc-file=io.c
1451
- # - readlines(sep = $/, chomp: false, **enc_opts) -> array
1452
- # - readlines(limit, chomp: false, **enc_opts) -> array
1453
- # - readlines(sep, limit, chomp: false, **enc_opts) -> array
1454
- # -->
1455
- # Returns an array containing the lines returned by calling Kernel#gets until
1456
- # the end-of-stream is reached; (see [Line IO](rdoc-ref:IO@Line+IO)).
1457
- #
1458
- # With only string argument `sep` given, returns the remaining lines as
1459
- # determined by line separator `sep`, or `nil` if none; see [Line
1460
- # Separator](rdoc-ref:IO@Line+Separator):
1461
- #
1462
- # # Default separator.
1463
- # $ cat t.txt | ruby -e "p readlines"
1464
- # ["First line\n", "Second line\n", "\n", "Fourth line\n", "Fifth line\n"]
1465
- #
1466
- # # Specified separator.
1467
- # $ cat t.txt | ruby -e "p readlines 'li'"
1468
- # ["First li", "ne\nSecond li", "ne\n\nFourth li", "ne\nFifth li", "ne\n"]
1469
- #
1470
- # # Get-all separator.
1471
- # $ cat t.txt | ruby -e "p readlines nil"
1472
- # ["First line\nSecond line\n\nFourth line\nFifth line\n"]
1473
- #
1474
- # # Get-paragraph separator.
1475
- # $ cat t.txt | ruby -e "p readlines ''"
1476
- # ["First line\nSecond line\n\n", "Fourth line\nFifth line\n"]
1477
- #
1478
- # With only integer argument `limit` given, limits the number of bytes in the
1479
- # line; see [Line Limit](rdoc-ref:IO@Line+Limit):
1480
- #
1481
- # $cat t.txt | ruby -e "p readlines 10"
1482
- # ["First line", "\n", "Second lin", "e\n", "\n", "Fourth lin", "e\n", "Fifth line", "\n"]
1483
- #
1484
- # $cat t.txt | ruby -e "p readlines 11"
1485
- # ["First line\n", "Second line", "\n", "\n", "Fourth line", "\n", "Fifth line\n"]
1486
- #
1487
- # $cat t.txt | ruby -e "p readlines 12"
1488
- # ["First line\n", "Second line\n", "\n", "Fourth line\n", "Fifth line\n"]
1489
- #
1490
- # With arguments `sep` and `limit` given, combines the two behaviors (see [Line
1491
- # Separator and Line Limit](rdoc-ref:IO@Line+Separator+and+Line+Limit)).
1492
- #
1493
- # Optional keyword argument `chomp` specifies whether line separators are to be
1494
- # omitted:
1495
- #
1496
- # $ cat t.txt | ruby -e "p readlines(chomp: true)"
1497
- # ["First line", "Second line", "", "Fourth line", "Fifth line"]
1498
- #
1499
- # Optional keyword arguments `enc_opts` specify encoding options; see [Encoding
1500
- # options](rdoc-ref:encodings.rdoc@Encoding+Options).
1501
- #
1502
- def self?.readlines: (?string sep, ?int limit, ?chomp: boolish) -> ::Array[String]
1503
-
1504
- # <!--
1505
- # rdoc-file=lib/rubygems/core_ext/kernel_require.rb
1506
- # - require(path)
1507
- # -->
1508
- # When RubyGems is required, Kernel#require is replaced with our own which is
1509
- # capable of loading gems on demand.
1510
- #
1511
- # When you call `require 'x'`, this is what happens:
1512
- # * If the file can be loaded from the existing Ruby loadpath, it is.
1513
- # * Otherwise, installed gems are searched for a file that matches. If it's
1514
- # found in gem 'y', that gem is activated (added to the loadpath).
1515
- #
1516
- # The normal `require` functionality of returning false if that file has already
1517
- # been loaded is preserved.
1518
- #
1519
- def self?.require: (String path) -> bool
1520
-
1521
- # <!--
1522
- # rdoc-file=load.c
1523
- # - require_relative(string) -> true or false
1524
- # -->
1525
- # Ruby tries to load the library named *string* relative to the directory
1526
- # containing the requiring file. If the file does not exist a LoadError is
1527
- # raised. Returns `true` if the file was loaded and `false` if the file was
1528
- # already loaded before.
1529
- #
1530
- def self?.require_relative: (String feature) -> bool
1531
-
1532
- # <!--
1533
- # rdoc-file=io.c
1534
- # - IO.select(read_ios, write_ios = [], error_ios = [], timeout = nil) -> array or nil
1535
- # -->
1536
- # Invokes system call [select(2)](https://linux.die.net/man/2/select), which
1537
- # monitors multiple file descriptors, waiting until one or more of the file
1538
- # descriptors becomes ready for some class of I/O operation.
1539
- #
1540
- # Not implemented on all platforms.
1541
- #
1542
- # Each of the arguments `read_ios`, `write_ios`, and `error_ios` is an array of
1543
- # IO objects.
1544
- #
1545
- # Argument `timeout` is a numeric value (such as integer or float) timeout
1546
- # interval in seconds.
1547
- #
1548
- # The method monitors the IO objects given in all three arrays, waiting for some
1549
- # to be ready; returns a 3-element array whose elements are:
1550
- #
1551
- # * An array of the objects in `read_ios` that are ready for reading.
1552
- # * An array of the objects in `write_ios` that are ready for writing.
1553
- # * An array of the objects in `error_ios` have pending exceptions.
1554
- #
1555
- # If no object becomes ready within the given `timeout`, `nil` is returned.
1556
- #
1557
- # IO.select peeks the buffer of IO objects for testing readability. If the IO
1558
- # buffer is not empty, IO.select immediately notifies readability. This "peek"
1559
- # only happens for IO objects. It does not happen for IO-like objects such as
1560
- # OpenSSL::SSL::SSLSocket.
1561
- #
1562
- # The best way to use IO.select is invoking it after non-blocking methods such
1563
- # as #read_nonblock, #write_nonblock, etc. The methods raise an exception which
1564
- # is extended by IO::WaitReadable or IO::WaitWritable. The modules notify how
1565
- # the caller should wait with IO.select. If IO::WaitReadable is raised, the
1566
- # caller should wait for reading. If IO::WaitWritable is raised, the caller
1567
- # should wait for writing.
1568
- #
1569
- # So, blocking read (#readpartial) can be emulated using #read_nonblock and
1570
- # IO.select as follows:
1571
- #
1572
- # begin
1573
- # result = io_like.read_nonblock(maxlen)
1574
- # rescue IO::WaitReadable
1575
- # IO.select([io_like])
1576
- # retry
1577
- # rescue IO::WaitWritable
1578
- # IO.select(nil, [io_like])
1579
- # retry
1580
- # end
1581
- #
1582
- # Especially, the combination of non-blocking methods and IO.select is preferred
1583
- # for IO like objects such as OpenSSL::SSL::SSLSocket. It has #to_io method to
1584
- # return underlying IO object. IO.select calls #to_io to obtain the file
1585
- # descriptor to wait.
1586
- #
1587
- # This means that readability notified by IO.select doesn't mean readability
1588
- # from OpenSSL::SSL::SSLSocket object.
1589
- #
1590
- # The most likely situation is that OpenSSL::SSL::SSLSocket buffers some data.
1591
- # IO.select doesn't see the buffer. So IO.select can block when
1592
- # OpenSSL::SSL::SSLSocket#readpartial doesn't block.
1593
- #
1594
- # However, several more complicated situations exist.
1595
- #
1596
- # SSL is a protocol which is sequence of records. The record consists of
1597
- # multiple bytes. So, the remote side of SSL sends a partial record, IO.select
1598
- # notifies readability but OpenSSL::SSL::SSLSocket cannot decrypt a byte and
1599
- # OpenSSL::SSL::SSLSocket#readpartial will block.
1600
- #
1601
- # Also, the remote side can request SSL renegotiation which forces the local SSL
1602
- # engine to write some data. This means OpenSSL::SSL::SSLSocket#readpartial may
1603
- # invoke #write system call and it can block. In such a situation,
1604
- # OpenSSL::SSL::SSLSocket#read_nonblock raises IO::WaitWritable instead of
1605
- # blocking. So, the caller should wait for ready for writability as above
1606
- # example.
1607
- #
1608
- # The combination of non-blocking methods and IO.select is also useful for
1609
- # streams such as tty, pipe socket socket when multiple processes read from a
1610
- # stream.
1611
- #
1612
- # Finally, Linux kernel developers don't guarantee that readability of select(2)
1613
- # means readability of following read(2) even for a single process; see
1614
- # [select(2)](https://linux.die.net/man/2/select)
1615
- #
1616
- # Invoking IO.select before IO#readpartial works well as usual. However it is
1617
- # not the best way to use IO.select.
1618
- #
1619
- # The writability notified by select(2) doesn't show how many bytes are
1620
- # writable. IO#write method blocks until given whole string is written. So,
1621
- # `IO#write(two or more bytes)` can block after writability is notified by
1622
- # IO.select. IO#write_nonblock is required to avoid the blocking.
1623
- #
1624
- # Blocking write (#write) can be emulated using #write_nonblock and IO.select as
1625
- # follows: IO::WaitReadable should also be rescued for SSL renegotiation in
1626
- # OpenSSL::SSL::SSLSocket.
1627
- #
1628
- # while 0 < string.bytesize
1629
- # begin
1630
- # written = io_like.write_nonblock(string)
1631
- # rescue IO::WaitReadable
1632
- # IO.select([io_like])
1633
- # retry
1634
- # rescue IO::WaitWritable
1635
- # IO.select(nil, [io_like])
1636
- # retry
1637
- # end
1638
- # string = string.byteslice(written..-1)
1639
- # end
1640
- #
1641
- # Example:
1642
- #
1643
- # rp, wp = IO.pipe
1644
- # mesg = "ping "
1645
- # 100.times {
1646
- # # IO.select follows IO#read. Not the best way to use IO.select.
1647
- # rs, ws, = IO.select([rp], [wp])
1648
- # if r = rs[0]
1649
- # ret = r.read(5)
1650
- # print ret
1651
- # case ret
1652
- # when /ping/
1653
- # mesg = "pong\n"
1654
- # when /pong/
1655
- # mesg = "ping "
1656
- # end
1657
- # end
1658
- # if w = ws[0]
1659
- # w.write(mesg)
1660
- # end
1661
- # }
1662
- #
1663
- # Output:
1664
- #
1665
- # ping pong
1666
- # ping pong
1667
- # ping pong
1668
- # (snipped)
1669
- # ping
1670
- #
1671
- def self?.select: (::Array[IO] read, ?::Array[IO] write, ?::Array[IO] error, ?Time::_Timeout timeout) -> ::Array[String]
1672
-
1673
- # <!--
1674
- # rdoc-file=process.c
1675
- # - sleep(secs = nil) -> slept_secs
1676
- # -->
1677
- # Suspends execution of the current thread for the number of seconds specified
1678
- # by numeric argument `secs`, or forever if `secs` is `nil`; returns the integer
1679
- # number of seconds suspended (rounded).
1680
- #
1681
- # Time.new # => 2008-03-08 19:56:19 +0900
1682
- # sleep 1.2 # => 1
1683
- # Time.new # => 2008-03-08 19:56:20 +0900
1684
- # sleep 1.9 # => 2
1685
- # Time.new # => 2008-03-08 19:56:22 +0900
1686
- #
1687
- def self?.sleep: (?nil) -> bot
1688
- | (Time::_Timeout duration) -> Integer
1689
-
1690
- %a{steep:deprecated}
1691
- interface _Divmod
1692
- def divmod: (Numeric) -> [ Numeric, Numeric ]
1693
- end
1694
-
1695
- # <!--
1696
- # rdoc-file=io.c
1697
- # - syscall(integer_callno, *arguments) -> integer
1698
- # -->
1699
- # Invokes Posix system call [syscall(2)](https://linux.die.net/man/2/syscall),
1700
- # which calls a specified function.
1701
- #
1702
- # Calls the operating system function identified by `integer_callno`; returns
1703
- # the result of the function or raises SystemCallError if it failed. The effect
1704
- # of the call is platform-dependent. The arguments and returned value are
1705
- # platform-dependent.
1706
- #
1707
- # For each of `arguments`: if it is an integer, it is passed directly; if it is
1708
- # a string, it is interpreted as a binary sequence of bytes. There may be as
1709
- # many as nine such arguments.
1710
- #
1711
- # Arguments `integer_callno` and `argument`, as well as the returned value, are
1712
- # platform-dependent.
1713
- #
1714
- # Note: Method `syscall` is essentially unsafe and unportable. The DL (Fiddle)
1715
- # library is preferred for safer and a bit more portable programming.
1716
- #
1717
- # Not implemented on all platforms.
1718
- #
1719
- def self?.syscall: (Integer num, *untyped args) -> untyped
1720
-
1721
- # <!--
1722
- # rdoc-file=file.c
1723
- # - test(char, path0, path1 = nil) -> object
1724
- # -->
1725
- # Performs a test on one or both of the *filesystem entities* at the given paths
1726
- # `path0` and `path1`:
1727
- # * Each path `path0` or `path1` points to a file, directory, device, pipe,
1728
- # etc.
1729
- # * Character `char` selects a specific test.
1730
- # The tests:
1731
- # * Each of these tests operates only on the entity at `path0`,
1732
- # and returns `true` or `false`;
1733
- # for a non-existent entity, returns `false` (does not raise exception):
1734
- # Character |Test
1735
- # ------------|-------------------------------------------------------------------------
1736
- # <tt>'b'</tt>|Whether the entity is a block device.
1737
- # <tt>'c'</tt>|Whether the entity is a character device.
1738
- # <tt>'d'</tt>|Whether the entity is a directory.
1739
- # <tt>'e'</tt>|Whether the entity is an existing entity.
1740
- # <tt>'f'</tt>|Whether the entity is an existing regular file.
1741
- # <tt>'g'</tt>|Whether the entity's setgid bit is set.
1742
- # <tt>'G'</tt>|Whether the entity's group ownership is equal to the caller's.
1743
- # <tt>'k'</tt>|Whether the entity's sticky bit is set.
1744
- # <tt>'l'</tt>|Whether the entity is a symbolic link.
1745
- # <tt>'o'</tt>|Whether the entity is owned by the caller's effective uid.
1746
- # <tt>'O'</tt>|Like <tt>'o'</tt>, but uses the real uid (not the effective uid).
1747
- # <tt>'p'</tt>|Whether the entity is a FIFO device (named pipe).
1748
- # <tt>'r'</tt>|Whether the entity is readable by the caller's effective uid/gid.
1749
- # <tt>'R'</tt>|Like <tt>'r'</tt>, but uses the real uid/gid (not the effective uid/gid).
1750
- # <tt>'S'</tt>|Whether the entity is a socket.
1751
- # <tt>'u'</tt>|Whether the entity's setuid bit is set.
1752
- # <tt>'w'</tt>|Whether the entity is writable by the caller's effective uid/gid.
1753
- # <tt>'W'</tt>|Like <tt>'w'</tt>, but uses the real uid/gid (not the effective uid/gid).
1754
- # <tt>'x'</tt>|Whether the entity is executable by the caller's effective uid/gid.
1755
- # <tt>'X'</tt>|Like <tt>'x'</tt>, but uses the real uid/gid (not the effective uid/git).
1756
- # <tt>'z'</tt>|Whether the entity exists and is of length zero.
1757
- # * This test operates only on the entity at `path0`,
1758
- # and returns an integer size or `nil`:
1759
- # Character |Test
1760
- # ------------|--------------------------------------------------------------------------------------------
1761
- # <tt>'s'</tt>|Returns positive integer size if the entity exists and has non-zero length, +nil+ otherwise.
1762
- # * Each of these tests operates only on the entity at `path0`,
1763
- # and returns a Time object;
1764
- # raises an exception if the entity does not exist:
1765
- # Character |Test
1766
- # ------------|--------------------------------------
1767
- # <tt>'A'</tt>|Last access time for the entity.
1768
- # <tt>'C'</tt>|Last change time for the entity.
1769
- # <tt>'M'</tt>|Last modification time for the entity.
1770
- # * Each of these tests operates on the modification time (`mtime`)
1771
- # of each of the entities at `path0` and `path1`,
1772
- # and returns a `true` or `false`;
1773
- # returns `false` if either entity does not exist:
1774
- # Character |Test
1775
- # ------------|---------------------------------------------------------------
1776
- # <tt>'<'</tt>|Whether the `mtime` at `path0` is less than that at `path1`.
1777
- # <tt>'='</tt>|Whether the `mtime` at `path0` is equal to that at `path1`.
1778
- # <tt>'>'</tt>|Whether the `mtime` at `path0` is greater than that at `path1`.
1779
- # * This test operates on the content of each of the entities at `path0` and
1780
- # `path1`,
1781
- # and returns a `true` or `false`;
1782
- # returns `false` if either entity does not exist:
1783
- # Character |Test
1784
- # ------------|---------------------------------------------
1785
- # <tt>'-'</tt>|Whether the entities exist and are identical.
1786
- #
1787
- def self?.test: (String | Integer cmd, String | IO file1, ?String | IO file2) -> (TrueClass | FalseClass | Time | nil | Integer)
1788
-
1789
- # <!--
1790
- # rdoc-file=vm_eval.c
1791
- # - throw(tag [, obj])
1792
- # -->
1793
- # Transfers control to the end of the active `catch` block waiting for *tag*.
1794
- # Raises `UncaughtThrowError` if there is no `catch` block for the *tag*. The
1795
- # optional second parameter supplies a return value for the `catch` block, which
1796
- # otherwise defaults to `nil`. For examples, see Kernel::catch.
1797
- #
1798
- def self?.throw: (untyped tag, ?untyped obj) -> bot
1799
-
1800
- # <!--
1801
- # rdoc-file=warning.rb
1802
- # - warn(*msgs, uplevel: nil, category: nil) -> nil
1803
- # -->
1804
- # If warnings have been disabled (for example with the `-W0` flag), does
1805
- # nothing. Otherwise, converts each of the messages to strings, appends a
1806
- # newline character to the string if the string does not end in a newline, and
1807
- # calls Warning.warn with the string.
1808
- #
1809
- # warn("warning 1", "warning 2")
1810
- #
1811
- # *produces:*
1812
- #
1813
- # warning 1
1814
- # warning 2
1815
- #
1816
- # If the `uplevel` keyword argument is given, the string will be prepended with
1817
- # information for the given caller frame in the same format used by the
1818
- # `rb_warn` C function.
1819
- #
1820
- # # In baz.rb
1821
- # def foo
1822
- # warn("invalid call to foo", uplevel: 1)
1823
- # end
1824
- #
1825
- # def bar
1826
- # foo
1827
- # end
1828
- #
1829
- # bar
1830
- #
1831
- # *produces:*
1832
- #
1833
- # baz.rb:6: warning: invalid call to foo
1834
- #
1835
- # If `category` keyword argument is given, passes the category to
1836
- # `Warning.warn`. The category given must be one of the following categories:
1837
- #
1838
- # :deprecated
1839
- # : Used for warning for deprecated functionality that may be removed in the
1840
- # future.
1841
- #
1842
- # :experimental
1843
- # : Used for experimental features that may change in future releases.
1844
- #
1845
- # :performance
1846
- # : Used for warning about APIs or pattern that have negative performance
1847
- # impact
1848
- #
1849
- def self?.warn: (*_ToS msg, ?uplevel: int?, ?category: Warning::category?) -> nil
1850
-
1851
- # <!--
1852
- # rdoc-file=process.c
1853
- # - exec([env, ] command_line, options = {})
1854
- # - exec([env, ] exe_path, *args, options = {})
1855
- # -->
1856
- # Replaces the current process by doing one of the following:
1857
- #
1858
- # * Passing string `command_line` to the shell.
1859
- # * Invoking the executable at `exe_path`.
1860
- #
1861
- # This method has potential security vulnerabilities if called with untrusted
1862
- # input; see [Command Injection](rdoc-ref:command_injection.rdoc).
1863
- #
1864
- # The new process is created using the [exec system
1865
- # call](https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/e
1866
- # xecve.html); it may inherit some of its environment from the calling program
1867
- # (possibly including open file descriptors).
1868
- #
1869
- # Argument `env`, if given, is a hash that affects `ENV` for the new process;
1870
- # see [Execution Environment](rdoc-ref:Process@Execution+Environment).
1871
- #
1872
- # Argument `options` is a hash of options for the new process; see [Execution
1873
- # Options](rdoc-ref:Process@Execution+Options).
1874
- #
1875
- # The first required argument is one of the following:
1876
- #
1877
- # * `command_line` if it is a string, and if it begins with a shell reserved
1878
- # word or special built-in, or if it contains one or more meta characters.
1879
- # * `exe_path` otherwise.
1880
- #
1881
- # **Argument `command_line`**
1882
- #
1883
- # String argument `command_line` is a command line to be passed to a shell; it
1884
- # must begin with a shell reserved word, begin with a special built-in, or
1885
- # contain meta characters:
1886
- #
1887
- # exec('if true; then echo "Foo"; fi') # Shell reserved word.
1888
- # exec('exit') # Built-in.
1889
- # exec('date > date.tmp') # Contains meta character.
1890
- #
1891
- # The command line may also contain arguments and options for the command:
1892
- #
1893
- # exec('echo "Foo"')
1894
- #
1895
- # Output:
1896
- #
1897
- # Foo
1898
- #
1899
- # See [Execution Shell](rdoc-ref:Process@Execution+Shell) for details about the
1900
- # shell.
1901
- #
1902
- # Raises an exception if the new process could not execute.
1903
- #
1904
- # **Argument `exe_path`**
1905
- #
1906
- # Argument `exe_path` is one of the following:
1907
- #
1908
- # * The string path to an executable to be called.
1909
- # * A 2-element array containing the path to an executable and the string to
1910
- # be used as the name of the executing process.
1911
- #
1912
- # Example:
1913
- #
1914
- # exec('/usr/bin/date')
1915
- #
1916
- # Output:
1917
- #
1918
- # Sat Aug 26 09:38:00 AM CDT 2023
1919
- #
1920
- # Ruby invokes the executable directly. This form does not use the shell; see
1921
- # [Arguments args](rdoc-ref:Process@Arguments+args) for caveats.
1922
- #
1923
- # exec('doesnt_exist') # Raises Errno::ENOENT
1924
- #
1925
- # If one or more `args` is given, each is an argument or option to be passed to
1926
- # the executable:
1927
- #
1928
- # exec('echo', 'C*')
1929
- # exec('echo', 'hello', 'world')
1930
- #
1931
- # Output:
1932
- #
1933
- # C*
1934
- # hello world
1935
- #
1936
- # Raises an exception if the new process could not execute.
1937
- #
1938
- def self?.exec: (String command, *String args, ?unsetenv_others: boolish, ?pgroup: true | Integer, ?umask: Integer, ?in: redirect_fd, ?out: redirect_fd, ?err: redirect_fd, ?close_others: boolish, ?chdir: String) -> bot
1939
- | (Hash[string, string?] env, String command, *String args, ?unsetenv_others: boolish, ?pgroup: true | Integer, ?umask: Integer, ?in: redirect_fd, ?out: redirect_fd, ?err: redirect_fd, ?close_others: boolish, ?chdir: String) -> bot
1940
-
1941
- type redirect_fd = Integer | :in | :out | :err | IO | String | [ String ] | [ String, string | int ] | [ String, string | int, int ] | [ :child, int ] | :close
1942
-
1943
- # <!--
1944
- # rdoc-file=process.c
1945
- # - spawn([env, ] command_line, options = {}) -> pid
1946
- # - spawn([env, ] exe_path, *args, options = {}) -> pid
1947
- # -->
1948
- # Creates a new child process by doing one of the following in that process:
1949
- #
1950
- # * Passing string `command_line` to the shell.
1951
- # * Invoking the executable at `exe_path`.
1952
- #
1953
- # This method has potential security vulnerabilities if called with untrusted
1954
- # input; see [Command Injection](rdoc-ref:command_injection.rdoc).
1955
- #
1956
- # Returns the process ID (pid) of the new process, without waiting for it to
1957
- # complete.
1958
- #
1959
- # To avoid zombie processes, the parent process should call either:
1960
- #
1961
- # * Process.wait, to collect the termination statuses of its children.
1962
- # * Process.detach, to register disinterest in their status.
1963
- #
1964
- # The new process is created using the [exec system
1965
- # call](https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/e
1966
- # xecve.html); it may inherit some of its environment from the calling program
1967
- # (possibly including open file descriptors).
1968
- #
1969
- # Argument `env`, if given, is a hash that affects `ENV` for the new process;
1970
- # see [Execution Environment](rdoc-ref:Process@Execution+Environment).
1971
- #
1972
- # Argument `options` is a hash of options for the new process; see [Execution
1973
- # Options](rdoc-ref:Process@Execution+Options).
1974
- #
1975
- # The first required argument is one of the following:
1976
- #
1977
- # * `command_line` if it is a string, and if it begins with a shell reserved
1978
- # word or special built-in, or if it contains one or more meta characters.
1979
- # * `exe_path` otherwise.
1980
- #
1981
- # **Argument `command_line`**
1982
- #
1983
- # String argument `command_line` is a command line to be passed to a shell; it
1984
- # must begin with a shell reserved word, begin with a special built-in, or
1985
- # contain meta characters:
1986
- #
1987
- # spawn('if true; then echo "Foo"; fi') # => 798847 # Shell reserved word.
1988
- # Process.wait # => 798847
1989
- # spawn('exit') # => 798848 # Built-in.
1990
- # Process.wait # => 798848
1991
- # spawn('date > /tmp/date.tmp') # => 798879 # Contains meta character.
1992
- # Process.wait # => 798849
1993
- # spawn('date > /nop/date.tmp') # => 798882 # Issues error message.
1994
- # Process.wait # => 798882
1995
- #
1996
- # The command line may also contain arguments and options for the command:
1997
- #
1998
- # spawn('echo "Foo"') # => 799031
1999
- # Process.wait # => 799031
2000
- #
2001
- # Output:
2002
- #
2003
- # Foo
2004
- #
2005
- # See [Execution Shell](rdoc-ref:Process@Execution+Shell) for details about the
2006
- # shell.
2007
- #
2008
- # Raises an exception if the new process could not execute.
2009
- #
2010
- # **Argument `exe_path`**
2011
- #
2012
- # Argument `exe_path` is one of the following:
2013
- #
2014
- # * The string path to an executable to be called.
2015
- # * A 2-element array containing the path to an executable to be called, and
2016
- # the string to be used as the name of the executing process.
2017
- #
2018
- # spawn('/usr/bin/date') # Path to date on Unix-style system.
2019
- # Process.wait
2020
- #
2021
- # Output:
2022
- #
2023
- # Mon Aug 28 11:43:10 AM CDT 2023
2024
- #
2025
- # Ruby invokes the executable directly. This form does not use the shell; see
2026
- # [Arguments args](rdoc-ref:Process@Arguments+args) for caveats.
2027
- #
2028
- # If one or more `args` is given, each is an argument or option to be passed to
2029
- # the executable:
2030
- #
2031
- # spawn('echo', 'C*') # => 799392
2032
- # Process.wait # => 799392
2033
- # spawn('echo', 'hello', 'world') # => 799393
2034
- # Process.wait # => 799393
2035
- #
2036
- # Output:
2037
- #
2038
- # C*
2039
- # hello world
2040
- #
2041
- # Raises an exception if the new process could not execute.
2042
- #
2043
- def self?.spawn: (String command, *String args, ?unsetenv_others: boolish, ?pgroup: true | Integer, ?umask: Integer, ?in: redirect_fd, ?out: redirect_fd, ?err: redirect_fd, ?close_others: boolish, ?chdir: String) -> Integer
2044
- | (Hash[string, string?] env, String command, *String args, ?unsetenv_others: boolish, ?pgroup: true | Integer, ?umask: Integer, ?in: redirect_fd, ?out: redirect_fd, ?err: redirect_fd, ?close_others: boolish, ?chdir: String) -> Integer
2045
-
2046
- # <!--
2047
- # rdoc-file=process.c
2048
- # - system([env, ] command_line, options = {}, exception: false) -> true, false, or nil
2049
- # - system([env, ] exe_path, *args, options = {}, exception: false) -> true, false, or nil
2050
- # -->
2051
- # Creates a new child process by doing one of the following in that process:
2052
- #
2053
- # * Passing string `command_line` to the shell.
2054
- # * Invoking the executable at `exe_path`.
2055
- #
2056
- # This method has potential security vulnerabilities if called with untrusted
2057
- # input; see [Command Injection](rdoc-ref:command_injection.rdoc).
2058
- #
2059
- # Returns:
2060
- #
2061
- # * `true` if the command exits with status zero.
2062
- # * `false` if the exit status is a non-zero integer.
2063
- # * `nil` if the command could not execute.
2064
- #
2065
- # Raises an exception (instead of returning `false` or `nil`) if keyword
2066
- # argument `exception` is set to `true`.
2067
- #
2068
- # Assigns the command's error status to `$?`.
2069
- #
2070
- # The new process is created using the [system system
2071
- # call](https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/s
2072
- # ystem.html); it may inherit some of its environment from the calling program
2073
- # (possibly including open file descriptors).
2074
- #
2075
- # Argument `env`, if given, is a hash that affects `ENV` for the new process;
2076
- # see [Execution Environment](rdoc-ref:Process@Execution+Environment).
2077
- #
2078
- # Argument `options` is a hash of options for the new process; see [Execution
2079
- # Options](rdoc-ref:Process@Execution+Options).
2080
- #
2081
- # The first required argument is one of the following:
2082
- #
2083
- # * `command_line` if it is a string, and if it begins with a shell reserved
2084
- # word or special built-in, or if it contains one or more meta characters.
2085
- # * `exe_path` otherwise.
2086
- #
2087
- # **Argument `command_line`**
2088
- #
2089
- # String argument `command_line` is a command line to be passed to a shell; it
2090
- # must begin with a shell reserved word, begin with a special built-in, or
2091
- # contain meta characters:
2092
- #
2093
- # system('if true; then echo "Foo"; fi') # => true # Shell reserved word.
2094
- # system('exit') # => true # Built-in.
2095
- # system('date > /tmp/date.tmp') # => true # Contains meta character.
2096
- # system('date > /nop/date.tmp') # => false
2097
- # system('date > /nop/date.tmp', exception: true) # Raises RuntimeError.
2098
- #
2099
- # Assigns the command's error status to `$?`:
2100
- #
2101
- # system('exit') # => true # Built-in.
2102
- # $? # => #<Process::Status: pid 640610 exit 0>
2103
- # system('date > /nop/date.tmp') # => false
2104
- # $? # => #<Process::Status: pid 640742 exit 2>
2105
- #
2106
- # The command line may also contain arguments and options for the command:
2107
- #
2108
- # system('echo "Foo"') # => true
2109
- #
2110
- # Output:
2111
- #
2112
- # Foo
2113
- #
2114
- # See [Execution Shell](rdoc-ref:Process@Execution+Shell) for details about the
2115
- # shell.
2116
- #
2117
- # Raises an exception if the new process could not execute.
2118
- #
2119
- # **Argument `exe_path`**
2120
- #
2121
- # Argument `exe_path` is one of the following:
2122
- #
2123
- # * The string path to an executable to be called.
2124
- # * A 2-element array containing the path to an executable and the string to
2125
- # be used as the name of the executing process.
2126
- #
2127
- # Example:
2128
- #
2129
- # system('/usr/bin/date') # => true # Path to date on Unix-style system.
2130
- # system('foo') # => nil # Command failed.
2131
- #
2132
- # Output:
2133
- #
2134
- # Mon Aug 28 11:43:10 AM CDT 2023
2135
- #
2136
- # Assigns the command's error status to `$?`:
2137
- #
2138
- # system('/usr/bin/date') # => true
2139
- # $? # => #<Process::Status: pid 645605 exit 0>
2140
- # system('foo') # => nil
2141
- # $? # => #<Process::Status: pid 645608 exit 127>
2142
- #
2143
- # Ruby invokes the executable directly. This form does not use the shell; see
2144
- # [Arguments args](rdoc-ref:Process@Arguments+args) for caveats.
2145
- #
2146
- # system('doesnt_exist') # => nil
2147
- #
2148
- # If one or more `args` is given, each is an argument or option to be passed to
2149
- # the executable:
2150
- #
2151
- # system('echo', 'C*') # => true
2152
- # system('echo', 'hello', 'world') # => true
2153
- #
2154
- # Output:
2155
- #
2156
- # C*
2157
- # hello world
2158
- #
2159
- # Raises an exception if the new process could not execute.
2160
- #
2161
- def self?.system: (String command, *String args, ?unsetenv_others: boolish, ?pgroup: true | Integer, ?umask: Integer, ?in: redirect_fd, ?out: redirect_fd, ?err: redirect_fd, ?close_others: boolish, ?chdir: String, ?exception: bool) -> (NilClass | FalseClass | TrueClass)
2162
- | (Hash[string, string?] env, String command, *String args, ?unsetenv_others: boolish, ?pgroup: true | Integer, ?umask: Integer, ?in: redirect_fd, ?out: redirect_fd, ?err: redirect_fd, ?close_others: boolish, ?chdir: String, ?exception: bool) -> (NilClass | FalseClass | TrueClass)
2163
-
2164
- # <!--
2165
- # rdoc-file=object.c
2166
- # - obj !~ other -> true or false
2167
- # -->
2168
- # Returns true if two objects do not match (using the *=~* method), otherwise
2169
- # false.
2170
- #
2171
- def !~: (untyped other) -> bool
2172
-
2173
- # <!--
2174
- # rdoc-file=object.c
2175
- # - obj <=> other -> 0 or nil
2176
- # -->
2177
- # Returns 0 if `obj` and `other` are the same object or `obj == other`,
2178
- # otherwise nil.
2179
- #
2180
- # The #<=> is used by various methods to compare objects, for example
2181
- # Enumerable#sort, Enumerable#max etc.
2182
- #
2183
- # Your implementation of #<=> should return one of the following values: -1, 0,
2184
- # 1 or nil. -1 means self is smaller than other. 0 means self is equal to other.
2185
- # 1 means self is bigger than other. Nil means the two values could not be
2186
- # compared.
2187
- #
2188
- # When you define #<=>, you can include Comparable to gain the methods #<=, #<,
2189
- # #==, #>=, #> and #between?.
2190
- #
2191
- def <=>: (untyped other) -> 0?
2192
-
2193
- # <!--
2194
- # rdoc-file=object.c
2195
- # - obj === other -> true or false
2196
- # -->
2197
- # Case Equality -- For class Object, effectively the same as calling `#==`, but
2198
- # typically overridden by descendants to provide meaningful semantics in `case`
2199
- # statements.
2200
- #
2201
- alias === ==
2202
-
2203
- # <!--
2204
- # rdoc-file=kernel.rb
2205
- # - obj.clone(freeze: nil) -> an_object
2206
- # -->
2207
- # Produces a shallow copy of *obj*---the instance variables of *obj* are copied,
2208
- # but not the objects they reference. #clone copies the frozen value state of
2209
- # *obj*, unless the `:freeze` keyword argument is given with a false or true
2210
- # value. See also the discussion under Object#dup.
2211
- #
2212
- # class Klass
2213
- # attr_accessor :str
2214
- # end
2215
- # s1 = Klass.new #=> #<Klass:0x401b3a38>
2216
- # s1.str = "Hello" #=> "Hello"
2217
- # s2 = s1.clone #=> #<Klass:0x401b3998 @str="Hello">
2218
- # s2.str[1,4] = "i" #=> "i"
2219
- # s1.inspect #=> "#<Klass:0x401b3a38 @str=\"Hi\">"
2220
- # s2.inspect #=> "#<Klass:0x401b3998 @str=\"Hi\">"
2221
- #
2222
- # This method may have class-specific behavior. If so, that behavior will be
2223
- # documented under the #`initialize_copy` method of the class.
2224
- #
2225
- def clone: (?freeze: bool?) -> self
2226
-
2227
- # <!--
2228
- # rdoc-file=proc.c
2229
- # - define_singleton_method(symbol, method) -> symbol
2230
- # - define_singleton_method(symbol) { block } -> symbol
2231
- # -->
2232
- # Defines a public singleton method in the receiver. The *method* parameter can
2233
- # be a `Proc`, a `Method` or an `UnboundMethod` object. If a block is specified,
2234
- # it is used as the method body. If a block or a method has parameters, they're
2235
- # used as method parameters.
2236
- #
2237
- # class A
2238
- # class << self
2239
- # def class_name
2240
- # to_s
2241
- # end
2242
- # end
2243
- # end
2244
- # A.define_singleton_method(:who_am_i) do
2245
- # "I am: #{class_name}"
2246
- # end
2247
- # A.who_am_i # ==> "I am: A"
2248
- #
2249
- # guy = "Bob"
2250
- # guy.define_singleton_method(:hello) { "#{self}: Hello there!" }
2251
- # guy.hello #=> "Bob: Hello there!"
2252
- #
2253
- # chris = "Chris"
2254
- # chris.define_singleton_method(:greet) {|greeting| "#{greeting}, I'm Chris!" }
2255
- # chris.greet("Hi") #=> "Hi, I'm Chris!"
2256
- #
2257
- def define_singleton_method: (interned name, Method | UnboundMethod | Proc method) -> Symbol
2258
- | (interned name) { (?) -> untyped } -> Symbol
2259
-
2260
- # <!--
2261
- # rdoc-file=io.c
2262
- # - display(port = $>) -> nil
2263
- # -->
2264
- # Writes `self` on the given port:
2265
- #
2266
- # 1.display
2267
- # "cat".display
2268
- # [ 4, 5, 6 ].display
2269
- # puts
2270
- #
2271
- # Output:
2272
- #
2273
- # 1cat[4, 5, 6]
2274
- #
2275
- def display: (?_Writer port) -> nil
2276
-
2277
- # <!--
2278
- # rdoc-file=object.c
2279
- # - obj.dup -> an_object
2280
- # -->
2281
- # Produces a shallow copy of *obj*---the instance variables of *obj* are copied,
2282
- # but not the objects they reference.
2283
- #
2284
- # This method may have class-specific behavior. If so, that behavior will be
2285
- # documented under the #`initialize_copy` method of the class.
2286
- #
2287
- # ### on dup vs clone
2288
- #
2289
- # In general, #clone and #dup may have different semantics in descendant
2290
- # classes. While #clone is used to duplicate an object, including its internal
2291
- # state, #dup typically uses the class of the descendant object to create the
2292
- # new instance.
2293
- #
2294
- # When using #dup, any modules that the object has been extended with will not
2295
- # be copied.
2296
- #
2297
- # class Klass
2298
- # attr_accessor :str
2299
- # end
2300
- #
2301
- # module Foo
2302
- # def foo; 'foo'; end
2303
- # end
2304
- #
2305
- # s1 = Klass.new #=> #<Klass:0x401b3a38>
2306
- # s1.extend(Foo) #=> #<Klass:0x401b3a38>
2307
- # s1.foo #=> "foo"
2308
- #
2309
- # s2 = s1.clone #=> #<Klass:0x401be280>
2310
- # s2.foo #=> "foo"
2311
- #
2312
- # s3 = s1.dup #=> #<Klass:0x401c1084>
2313
- # s3.foo #=> NoMethodError: undefined method `foo' for #<Klass:0x401c1084>
2314
- #
2315
- def dup: () -> self
2316
-
2317
- # <!-- rdoc-file=enumerator.c -->
2318
- # Creates a new Enumerator which will enumerate by calling `method` on `obj`,
2319
- # passing `args` if any. What was *yielded* by method becomes values of
2320
- # enumerator.
2321
- #
2322
- # If a block is given, it will be used to calculate the size of the enumerator
2323
- # without the need to iterate it (see Enumerator#size).
2324
- #
2325
- # ### Examples
2326
- #
2327
- # str = "xyz"
2328
- #
2329
- # enum = str.enum_for(:each_byte)
2330
- # enum.each { |b| puts b }
2331
- # # => 120
2332
- # # => 121
2333
- # # => 122
2334
- #
2335
- # # protect an array from being modified by some_method
2336
- # a = [1, 2, 3]
2337
- # some_method(a.to_enum)
2338
- #
2339
- # # String#split in block form is more memory-effective:
2340
- # very_large_string.split("|") { |chunk| return chunk if chunk.include?('DATE') }
2341
- # # This could be rewritten more idiomatically with to_enum:
2342
- # very_large_string.to_enum(:split, "|").lazy.grep(/DATE/).first
2343
- #
2344
- # It is typical to call to_enum when defining methods for a generic Enumerable,
2345
- # in case no block is passed.
2346
- #
2347
- # Here is such an example, with parameter passing and a sizing block:
2348
- #
2349
- # module Enumerable
2350
- # # a generic method to repeat the values of any enumerable
2351
- # def repeat(n)
2352
- # raise ArgumentError, "#{n} is negative!" if n < 0
2353
- # unless block_given?
2354
- # return to_enum(__method__, n) do # __method__ is :repeat here
2355
- # sz = size # Call size and multiply by n...
2356
- # sz * n if sz # but return nil if size itself is nil
2357
- # end
2358
- # end
2359
- # each do |*val|
2360
- # n.times { yield *val }
2361
- # end
2362
- # end
2363
- # end
2364
- #
2365
- # %i[hello world].repeat(2) { |w| puts w }
2366
- # # => Prints 'hello', 'hello', 'world', 'world'
2367
- # enum = (1..14).repeat(3)
2368
- # # => returns an Enumerator when called without a block
2369
- # enum.first(4) # => [1, 1, 1, 2]
2370
- # enum.size # => 42
2371
- #
2372
- def enum_for: (?interned method, *untyped, **untyped) ?{ (*untyped, **untyped) -> Integer } -> Enumerator[untyped, untyped]
2373
-
2374
- alias to_enum enum_for
2375
-
2376
- # <!--
2377
- # rdoc-file=object.c
2378
- # - obj == other -> true or false
2379
- # - obj.equal?(other) -> true or false
2380
- # - obj.eql?(other) -> true or false
2381
- # -->
2382
- # Equality --- At the Object level, #== returns `true` only if `obj` and `other`
2383
- # are the same object. Typically, this method is overridden in descendant
2384
- # classes to provide class-specific meaning.
2385
- #
2386
- # Unlike #==, the #equal? method should never be overridden by subclasses as it
2387
- # is used to determine object identity (that is, `a.equal?(b)` if and only if
2388
- # `a` is the same object as `b`):
2389
- #
2390
- # obj = "a"
2391
- # other = obj.dup
2392
- #
2393
- # obj == other #=> true
2394
- # obj.equal? other #=> false
2395
- # obj.equal? obj #=> true
2396
- #
2397
- # The #eql? method returns `true` if `obj` and `other` refer to the same hash
2398
- # key. This is used by Hash to test members for equality. For any pair of
2399
- # objects where #eql? returns `true`, the #hash value of both objects must be
2400
- # equal. So any subclass that overrides #eql? should also override #hash
2401
- # appropriately.
2402
- #
2403
- # For objects of class Object, #eql? is synonymous with #==. Subclasses
2404
- # normally continue this tradition by aliasing #eql? to their overridden #==
2405
- # method, but there are exceptions. Numeric types, for example, perform type
2406
- # conversion across #==, but not across #eql?, so:
2407
- #
2408
- # 1 == 1.0 #=> true
2409
- # 1.eql? 1.0 #=> false
2410
- #
2411
- def eql?: (untyped other) -> bool
2412
-
2413
- # <!--
2414
- # rdoc-file=eval.c
2415
- # - obj.extend(module, ...) -> obj
2416
- # -->
2417
- # Adds to *obj* the instance methods from each module given as a parameter.
2418
- #
2419
- # module Mod
2420
- # def hello
2421
- # "Hello from Mod.\n"
2422
- # end
2423
- # end
2424
- #
2425
- # class Klass
2426
- # def hello
2427
- # "Hello from Klass.\n"
2428
- # end
2429
- # end
2430
- #
2431
- # k = Klass.new
2432
- # k.hello #=> "Hello from Klass.\n"
2433
- # k.extend(Mod) #=> #<Klass:0x401b3bc8>
2434
- # k.hello #=> "Hello from Mod.\n"
2435
- #
2436
- def extend: (Module module, *Module other_modules) -> self
2437
-
2438
- # <!--
2439
- # rdoc-file=object.c
2440
- # - obj.freeze -> obj
2441
- # -->
2442
- # Prevents further modifications to *obj*. A FrozenError will be raised if
2443
- # modification is attempted. There is no way to unfreeze a frozen object. See
2444
- # also Object#frozen?.
2445
- #
2446
- # This method returns self.
2447
- #
2448
- # a = [ "a", "b", "c" ]
2449
- # a.freeze
2450
- # a << "z"
2451
- #
2452
- # *produces:*
2453
- #
2454
- # prog.rb:3:in `<<': can't modify frozen Array (FrozenError)
2455
- # from prog.rb:3
2456
- #
2457
- # Objects of the following classes are always frozen: Integer, Float, Symbol.
2458
- #
2459
- def freeze: () -> self
2460
-
2461
- # <!--
2462
- # rdoc-file=kernel.rb
2463
- # - obj.frozen? -> true or false
2464
- # -->
2465
- # Returns the freeze status of *obj*.
2466
- #
2467
- # a = [ "a", "b", "c" ]
2468
- # a.freeze #=> ["a", "b", "c"]
2469
- # a.frozen? #=> true
2470
- #
2471
- def frozen?: () -> bool
2472
-
2473
- # <!--
2474
- # rdoc-file=object.c
2475
- # - obj.hash -> integer
2476
- # -->
2477
- # Generates an Integer hash value for this object. This function must have the
2478
- # property that `a.eql?(b)` implies `a.hash == b.hash`.
2479
- #
2480
- # The hash value is used along with #eql? by the Hash class to determine if two
2481
- # objects reference the same hash key. Any hash value that exceeds the capacity
2482
- # of an Integer will be truncated before being used.
2483
- #
2484
- # The hash value for an object may not be identical across invocations or
2485
- # implementations of Ruby. If you need a stable identifier across Ruby
2486
- # invocations and implementations you will need to generate one with a custom
2487
- # method.
2488
- #
2489
- # Certain core classes such as Integer use built-in hash calculations and do not
2490
- # call the #hash method when used as a hash key.
2491
- #
2492
- # When implementing your own #hash based on multiple values, the best practice
2493
- # is to combine the class and any values using the hash code of an array:
2494
- #
2495
- # For example:
2496
- #
2497
- # def hash
2498
- # [self.class, a, b, c].hash
2499
- # end
2500
- #
2501
- # The reason for this is that the Array#hash method already has logic for safely
2502
- # and efficiently combining multiple hash values.
2503
- #
2504
- def hash: () -> Integer
2505
-
2506
- # <!--
2507
- # rdoc-file=object.c
2508
- # - obj.inspect -> string
2509
- # -->
2510
- # Returns a string containing a human-readable representation of *obj*. The
2511
- # default #inspect shows the object's class name, an encoding of its memory
2512
- # address, and a list of the instance variables and their values (by calling
2513
- # #inspect on each of them). User defined classes should override this method
2514
- # to provide a better representation of *obj*. When overriding this method, it
2515
- # should return a string whose encoding is compatible with the default external
2516
- # encoding.
2517
- #
2518
- # [ 1, 2, 3..4, 'five' ].inspect #=> "[1, 2, 3..4, \"five\"]"
2519
- # Time.new.inspect #=> "2008-03-08 19:43:39 +0900"
2520
- #
2521
- # class Foo
2522
- # end
2523
- # Foo.new.inspect #=> "#<Foo:0x0300c868>"
2524
- #
2525
- # class Bar
2526
- # def initialize
2527
- # @bar = 1
2528
- # end
2529
- # end
2530
- # Bar.new.inspect #=> "#<Bar:0x0300c868 @bar=1>"
2531
- #
2532
- def inspect: () -> String
2533
-
2534
- # <!--
2535
- # rdoc-file=object.c
2536
- # - obj.instance_of?(class) -> true or false
2537
- # -->
2538
- # Returns `true` if *obj* is an instance of the given class. See also
2539
- # Object#kind_of?.
2540
- #
2541
- # class A; end
2542
- # class B < A; end
2543
- # class C < B; end
2544
- #
2545
- # b = B.new
2546
- # b.instance_of? A #=> false
2547
- # b.instance_of? B #=> true
2548
- # b.instance_of? C #=> false
2549
- #
2550
- def instance_of?: (Module | Class module_or_class) -> bool
2551
-
2552
- # <!--
2553
- # rdoc-file=object.c
2554
- # - obj.instance_variable_defined?(symbol) -> true or false
2555
- # - obj.instance_variable_defined?(string) -> true or false
2556
- # -->
2557
- # Returns `true` if the given instance variable is defined in *obj*. String
2558
- # arguments are converted to symbols.
2559
- #
2560
- # class Fred
2561
- # def initialize(p1, p2)
2562
- # @a, @b = p1, p2
2563
- # end
2564
- # end
2565
- # fred = Fred.new('cat', 99)
2566
- # fred.instance_variable_defined?(:@a) #=> true
2567
- # fred.instance_variable_defined?("@b") #=> true
2568
- # fred.instance_variable_defined?("@c") #=> false
2569
- #
2570
- def instance_variable_defined?: (interned variable) -> bool
2571
-
2572
- # <!--
2573
- # rdoc-file=object.c
2574
- # - obj.instance_variable_get(symbol) -> obj
2575
- # - obj.instance_variable_get(string) -> obj
2576
- # -->
2577
- # Returns the value of the given instance variable, or nil if the instance
2578
- # variable is not set. The `@` part of the variable name should be included for
2579
- # regular instance variables. Throws a NameError exception if the supplied
2580
- # symbol is not valid as an instance variable name. String arguments are
2581
- # converted to symbols.
2582
- #
2583
- # class Fred
2584
- # def initialize(p1, p2)
2585
- # @a, @b = p1, p2
2586
- # end
2587
- # end
2588
- # fred = Fred.new('cat', 99)
2589
- # fred.instance_variable_get(:@a) #=> "cat"
2590
- # fred.instance_variable_get("@b") #=> 99
2591
- #
2592
- def instance_variable_get: (interned variable) -> untyped
2593
-
2594
- # <!--
2595
- # rdoc-file=object.c
2596
- # - obj.instance_variable_set(symbol, obj) -> obj
2597
- # - obj.instance_variable_set(string, obj) -> obj
2598
- # -->
2599
- # Sets the instance variable named by *symbol* to the given object. This may
2600
- # circumvent the encapsulation intended by the author of the class, so it should
2601
- # be used with care. The variable does not have to exist prior to this call. If
2602
- # the instance variable name is passed as a string, that string is converted to
2603
- # a symbol.
2604
- #
2605
- # class Fred
2606
- # def initialize(p1, p2)
2607
- # @a, @b = p1, p2
2608
- # end
2609
- # end
2610
- # fred = Fred.new('cat', 99)
2611
- # fred.instance_variable_set(:@a, 'dog') #=> "dog"
2612
- # fred.instance_variable_set(:@c, 'cat') #=> "cat"
2613
- # fred.inspect #=> "#<Fred:0x401b3da8 @a=\"dog\", @b=99, @c=\"cat\">"
2614
- #
2615
- def instance_variable_set: [T] (interned variable, T value) -> T
2616
-
2617
- # <!--
2618
- # rdoc-file=object.c
2619
- # - obj.instance_variables -> array
2620
- # -->
2621
- # Returns an array of instance variable names for the receiver. Note that simply
2622
- # defining an accessor does not create the corresponding instance variable.
2623
- #
2624
- # class Fred
2625
- # attr_accessor :a1
2626
- # def initialize
2627
- # @iv = 3
2628
- # end
2629
- # end
2630
- # Fred.new.instance_variables #=> [:@iv]
2631
- #
2632
- def instance_variables: () -> Array[Symbol]
2633
-
2634
- # <!-- rdoc-file=object.c -->
2635
- # Returns `true` if *class* is the class of *obj*, or if *class* is one of the
2636
- # superclasses of *obj* or modules included in *obj*.
2637
- #
2638
- # module M; end
2639
- # class A
2640
- # include M
2641
- # end
2642
- # class B < A; end
2643
- # class C < B; end
2644
- #
2645
- # b = B.new
2646
- # b.is_a? A #=> true
2647
- # b.is_a? B #=> true
2648
- # b.is_a? C #=> false
2649
- # b.is_a? M #=> true
2650
- #
2651
- # b.kind_of? A #=> true
2652
- # b.kind_of? B #=> true
2653
- # b.kind_of? C #=> false
2654
- # b.kind_of? M #=> true
2655
- #
2656
- def is_a?: (Module | Class module_or_class) -> bool
2657
-
2658
- alias kind_of? is_a?
2659
-
2660
- # <!--
2661
- # rdoc-file=object.c
2662
- # - obj.itself -> obj
2663
- # -->
2664
- # Returns the receiver.
2665
- #
2666
- # string = "my string"
2667
- # string.itself.object_id == string.object_id #=> true
2668
- #
2669
- def itself: () -> self
2670
-
2671
- # <!--
2672
- # rdoc-file=proc.c
2673
- # - obj.method(sym) -> method
2674
- # -->
2675
- # Looks up the named method as a receiver in *obj*, returning a Method object
2676
- # (or raising NameError). The Method object acts as a closure in *obj*'s object
2677
- # instance, so instance variables and the value of `self` remain available.
2678
- #
2679
- # class Demo
2680
- # def initialize(n)
2681
- # @iv = n
2682
- # end
2683
- # def hello()
2684
- # "Hello, @iv = #{@iv}"
2685
- # end
2686
- # end
2687
- #
2688
- # k = Demo.new(99)
2689
- # m = k.method(:hello)
2690
- # m.call #=> "Hello, @iv = 99"
2691
- #
2692
- # l = Demo.new('Fred')
2693
- # m = l.method("hello")
2694
- # m.call #=> "Hello, @iv = Fred"
2695
- #
2696
- # Note that Method implements `to_proc` method, which means it can be used with
2697
- # iterators.
2698
- #
2699
- # [ 1, 2, 3 ].each(&method(:puts)) # => prints 3 lines to stdout
2700
- #
2701
- # out = File.open('test.txt', 'w')
2702
- # [ 1, 2, 3 ].each(&out.method(:puts)) # => prints 3 lines to file
2703
- #
2704
- # require 'date'
2705
- # %w[2017-03-01 2017-03-02].collect(&Date.method(:parse))
2706
- # #=> [#<Date: 2017-03-01 ((2457814j,0s,0n),+0s,2299161j)>, #<Date: 2017-03-02 ((2457815j,0s,0n),+0s,2299161j)>]
2707
- #
2708
- def method: (interned name) -> Method
2709
-
2710
- # <!--
2711
- # rdoc-file=object.c
2712
- # - obj.methods(regular=true) -> array
2713
- # -->
2714
- # Returns a list of the names of public and protected methods of *obj*. This
2715
- # will include all the methods accessible in *obj*'s ancestors. If the optional
2716
- # parameter is `false`, it returns an array of *obj*'s public and protected
2717
- # singleton methods, the array will not include methods in modules included in
2718
- # *obj*.
2719
- #
2720
- # class Klass
2721
- # def klass_method()
2722
- # end
2723
- # end
2724
- # k = Klass.new
2725
- # k.methods[0..9] #=> [:klass_method, :nil?, :===,
2726
- # # :==~, :!, :eql?
2727
- # # :hash, :<=>, :class, :singleton_class]
2728
- # k.methods.length #=> 56
2729
- #
2730
- # k.methods(false) #=> []
2731
- # def k.singleton_method; end
2732
- # k.methods(false) #=> [:singleton_method]
2733
- #
2734
- # module M123; def m123; end end
2735
- # k.extend M123
2736
- # k.methods(false) #=> [:singleton_method]
2737
- #
2738
- def methods: (?boolish regular) -> Array[Symbol]
2739
-
2740
- # <!--
2741
- # rdoc-file=object.c
2742
- # - obj.nil? -> true or false
2743
- # -->
2744
- # Only the object *nil* responds `true` to `nil?`.
2745
- #
2746
- # Object.new.nil? #=> false
2747
- # nil.nil? #=> true
2748
- #
2749
- def nil?: () -> false
2750
-
2751
- # <!--
2752
- # rdoc-file=gc.c
2753
- # - obj.__id__ -> integer
2754
- # - obj.object_id -> integer
2755
- # -->
2756
- # Returns an integer identifier for `obj`.
2757
- #
2758
- # The same number will be returned on all calls to `object_id` for a given
2759
- # object, and no two active objects will share an id.
2760
- #
2761
- # Note: that some objects of builtin classes are reused for optimization. This
2762
- # is the case for immediate values and frozen string literals.
2763
- #
2764
- # BasicObject implements +__id__+, Kernel implements `object_id`.
2765
- #
2766
- # Immediate values are not passed by reference but are passed by value: `nil`,
2767
- # `true`, `false`, Fixnums, Symbols, and some Floats.
2768
- #
2769
- # Object.new.object_id == Object.new.object_id # => false
2770
- # (21 * 2).object_id == (21 * 2).object_id # => true
2771
- # "hello".object_id == "hello".object_id # => false
2772
- # "hi".freeze.object_id == "hi".freeze.object_id # => true
2773
- #
2774
- alias object_id __id__
2775
-
2776
- # <!--
2777
- # rdoc-file=object.c
2778
- # - obj.private_methods(all=true) -> array
2779
- # -->
2780
- # Returns the list of private methods accessible to *obj*. If the *all*
2781
- # parameter is set to `false`, only those methods in the receiver will be
2782
- # listed.
2783
- #
2784
- def private_methods: (?boolish all) -> Array[Symbol]
2785
-
2786
- # <!--
2787
- # rdoc-file=object.c
2788
- # - obj.protected_methods(all=true) -> array
2789
- # -->
2790
- # Returns the list of protected methods accessible to *obj*. If the *all*
2791
- # parameter is set to `false`, only those methods in the receiver will be
2792
- # listed.
2793
- #
2794
- def protected_methods: (?boolish all) -> Array[Symbol]
2795
-
2796
- # <!--
2797
- # rdoc-file=proc.c
2798
- # - obj.public_method(sym) -> method
2799
- # -->
2800
- # Similar to *method*, searches public method only.
2801
- #
2802
- def public_method: (interned name) -> Method
2803
-
2804
- # <!--
2805
- # rdoc-file=object.c
2806
- # - obj.public_methods(all=true) -> array
2807
- # -->
2808
- # Returns the list of public methods accessible to *obj*. If the *all* parameter
2809
- # is set to `false`, only those methods in the receiver will be listed.
2810
- #
2811
- def public_methods: (?boolish all) -> Array[Symbol]
2812
-
2813
- # <!--
2814
- # rdoc-file=vm_eval.c
2815
- # - obj.public_send(symbol [, args...]) -> obj
2816
- # - obj.public_send(string [, args...]) -> obj
2817
- # -->
2818
- # Invokes the method identified by *symbol*, passing it any arguments specified.
2819
- # Unlike send, public_send calls public methods only. When the method is
2820
- # identified by a string, the string is converted to a symbol.
2821
- #
2822
- # 1.public_send(:puts, "hello") # causes NoMethodError
2823
- #
2824
- def public_send: (interned name, *untyped, **untyped) ?{ (?) -> untyped } -> untyped
2825
-
2826
- # <!--
2827
- # rdoc-file=object.c
2828
- # - obj.remove_instance_variable(symbol) -> obj
2829
- # - obj.remove_instance_variable(string) -> obj
2830
- # -->
2831
- # Removes the named instance variable from *obj*, returning that variable's
2832
- # value. String arguments are converted to symbols.
2833
- #
2834
- # class Dummy
2835
- # attr_reader :var
2836
- # def initialize
2837
- # @var = 99
2838
- # end
2839
- # def remove
2840
- # remove_instance_variable(:@var)
2841
- # end
2842
- # end
2843
- # d = Dummy.new
2844
- # d.var #=> 99
2845
- # d.remove #=> 99
2846
- # d.var #=> nil
2847
- #
2848
- def remove_instance_variable: (interned variable) -> untyped
2849
-
2850
- # <!--
2851
- # rdoc-file=vm_method.c
2852
- # - obj.respond_to?(symbol, include_all=false) -> true or false
2853
- # - obj.respond_to?(string, include_all=false) -> true or false
2854
- # -->
2855
- # Returns `true` if *obj* responds to the given method. Private and protected
2856
- # methods are included in the search only if the optional second parameter
2857
- # evaluates to `true`.
2858
- #
2859
- # If the method is not implemented, as Process.fork on Windows, File.lchmod on
2860
- # GNU/Linux, etc., false is returned.
2861
- #
2862
- # If the method is not defined, `respond_to_missing?` method is called and the
2863
- # result is returned.
2864
- #
2865
- # When the method name parameter is given as a string, the string is converted
2866
- # to a symbol.
2867
- #
2868
- def respond_to?: (interned name, ?boolish include_all) -> bool
2869
-
2870
- # <!--
2871
- # rdoc-file=vm_method.c
2872
- # - obj.respond_to_missing?(symbol, include_all) -> true or false
2873
- # - obj.respond_to_missing?(string, include_all) -> true or false
2874
- # -->
2875
- # DO NOT USE THIS DIRECTLY.
2876
- #
2877
- # Hook method to return whether the *obj* can respond to *id* method or not.
2878
- #
2879
- # When the method name parameter is given as a string, the string is converted
2880
- # to a symbol.
2881
- #
2882
- # See #respond_to?, and the example of BasicObject.
2883
- #
2884
- private def respond_to_missing?: (Symbol | String name, bool include_all) -> bool
2885
-
2886
- # <!--
2887
- # rdoc-file=vm_eval.c
2888
- # - foo.send(symbol [, args...]) -> obj
2889
- # - foo.__send__(symbol [, args...]) -> obj
2890
- # - foo.send(string [, args...]) -> obj
2891
- # - foo.__send__(string [, args...]) -> obj
2892
- # -->
2893
- # Invokes the method identified by *symbol*, passing it any arguments specified.
2894
- # When the method is identified by a string, the string is converted to a
2895
- # symbol.
2896
- #
2897
- # BasicObject implements +__send__+, Kernel implements `send`. `__send__` is
2898
- # safer than `send` when *obj* has the same method name like `Socket`. See also
2899
- # `public_send`.
2900
- #
2901
- # class Klass
2902
- # def hello(*args)
2903
- # "Hello " + args.join(' ')
2904
- # end
2905
- # end
2906
- # k = Klass.new
2907
- # k.send :hello, "gentle", "readers" #=> "Hello gentle readers"
2908
- #
2909
- alias send __send__
2910
-
2911
- # <!--
2912
- # rdoc-file=object.c
2913
- # - obj.singleton_class -> class
2914
- # -->
2915
- # Returns the singleton class of *obj*. This method creates a new singleton
2916
- # class if *obj* does not have one.
2917
- #
2918
- # If *obj* is `nil`, `true`, or `false`, it returns NilClass, TrueClass, or
2919
- # FalseClass, respectively. If *obj* is an Integer, a Float or a Symbol, it
2920
- # raises a TypeError.
2921
- #
2922
- # Object.new.singleton_class #=> #<Class:#<Object:0xb7ce1e24>>
2923
- # String.singleton_class #=> #<Class:String>
2924
- # nil.singleton_class #=> NilClass
2925
- #
2926
- def singleton_class: () -> Class
2927
-
2928
- # <!--
2929
- # rdoc-file=proc.c
2930
- # - obj.singleton_method(sym) -> method
2931
- # -->
2932
- # Similar to *method*, searches singleton method only.
2933
- #
2934
- # class Demo
2935
- # def initialize(n)
2936
- # @iv = n
2937
- # end
2938
- # def hello()
2939
- # "Hello, @iv = #{@iv}"
2940
- # end
2941
- # end
2942
- #
2943
- # k = Demo.new(99)
2944
- # def k.hi
2945
- # "Hi, @iv = #{@iv}"
2946
- # end
2947
- # m = k.singleton_method(:hi)
2948
- # m.call #=> "Hi, @iv = 99"
2949
- # m = k.singleton_method(:hello) #=> NameError
2950
- #
2951
- def singleton_method: (interned name) -> Method
2952
-
2953
- # <!--
2954
- # rdoc-file=object.c
2955
- # - obj.singleton_methods(all=true) -> array
2956
- # -->
2957
- # Returns an array of the names of singleton methods for *obj*. If the optional
2958
- # *all* parameter is true, the list will include methods in modules included in
2959
- # *obj*. Only public and protected singleton methods are returned.
2960
- #
2961
- # module Other
2962
- # def three() end
2963
- # end
2964
- #
2965
- # class Single
2966
- # def Single.four() end
2967
- # end
2968
- #
2969
- # a = Single.new
2970
- #
2971
- # def a.one()
2972
- # end
2973
- #
2974
- # class << a
2975
- # include Other
2976
- # def two()
2977
- # end
2978
- # end
2979
- #
2980
- # Single.singleton_methods #=> [:four]
2981
- # a.singleton_methods(false) #=> [:two, :one]
2982
- # a.singleton_methods #=> [:two, :one, :three]
2983
- #
2984
- def singleton_methods: (?boolish all) -> Array[Symbol]
2985
-
2986
- # <!--
2987
- # rdoc-file=kernel.rb
2988
- # - obj.tap {|x| block } -> obj
2989
- # -->
2990
- # Yields self to the block and then returns self. The primary purpose of this
2991
- # method is to "tap into" a method chain, in order to perform operations on
2992
- # intermediate results within the chain.
2993
- #
2994
- # (1..10) .tap {|x| puts "original: #{x}" }
2995
- # .to_a .tap {|x| puts "array: #{x}" }
2996
- # .select {|x| x.even? } .tap {|x| puts "evens: #{x}" }
2997
- # .map {|x| x*x } .tap {|x| puts "squares: #{x}" }
2998
- #
2999
- def tap: () { (self) -> void } -> self
3000
-
3001
- # <!--
3002
- # rdoc-file=object.c
3003
- # - obj.to_s -> string
3004
- # -->
3005
- # Returns a string representing *obj*. The default #to_s prints the object's
3006
- # class and an encoding of the object id. As a special case, the top-level
3007
- # object that is the initial execution context of Ruby programs returns
3008
- # ``main''.
3009
- #
3010
- def to_s: () -> String
3011
-
3012
- # <!--
3013
- # rdoc-file=kernel.rb
3014
- # - yield_self()
3015
- # -->
3016
- #
3017
- def yield_self: () -> Enumerator[self, untyped]
3018
- | [T] () { (self) -> T } -> T
3019
-
3020
- # <!--
3021
- # rdoc-file=kernel.rb
3022
- # - obj.then {|x| block } -> an_object
3023
- # -->
3024
- # Yields self to the block and returns the result of the block.
3025
- #
3026
- # 3.next.then {|x| x**x }.to_s #=> "256"
3027
- #
3028
- # A good use of `then` is value piping in method chains:
3029
- #
3030
- # require 'open-uri'
3031
- # require 'json'
3032
- #
3033
- # construct_url(arguments)
3034
- # .then {|url| URI(url).read }
3035
- # .then {|response| JSON.parse(response) }
3036
- #
3037
- # When called without a block, the method returns an `Enumerator`, which can be
3038
- # used, for example, for conditional circuit-breaking:
3039
- #
3040
- # # Meets condition, no-op
3041
- # 1.then.detect(&:odd?) # => 1
3042
- # # Does not meet condition, drop value
3043
- # 2.then.detect(&:odd?) # => nil
3044
- #
3045
- alias then yield_self
3046
-
3047
- private
3048
-
3049
- def initialize_copy: (self object) -> self
3050
-
3051
- def initialize_clone: (self object, ?freeze: bool?) -> self
3052
-
3053
- def initialize_dup: (self object) -> self
3054
- end