@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.
- package/PRESTAGE.md +38 -6
- package/bin/ruby +1 -0
- package/bin/ruby.wasm +0 -0
- package/lib/ruby/3.4.0/socket.rb +1790 -0
- package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +5 -5
- package/lib/ruby/3.4.11/English.gemspec +22 -0
- package/lib/ruby/3.4.11/English.rb +164 -0
- package/lib/ruby/3.4.11/benchmark.gemspec +32 -0
- package/lib/ruby/3.4.11/benchmark.rb +594 -0
- package/lib/ruby/3.4.11/bundled_gems.rb +248 -0
- package/lib/ruby/3.4.11/bundler/.document +1 -0
- package/lib/ruby/3.4.11/bundler/build_metadata.rb +43 -0
- package/lib/ruby/3.4.11/bundler/bundler.gemspec +45 -0
- package/lib/ruby/3.4.11/bundler/capistrano.rb +22 -0
- package/lib/ruby/3.4.11/bundler/checksum.rb +264 -0
- package/lib/ruby/3.4.11/bundler/ci_detector.rb +75 -0
- package/lib/ruby/3.4.11/bundler/cli/add.rb +49 -0
- package/lib/ruby/3.4.11/bundler/cli/binstubs.rb +57 -0
- package/lib/ruby/3.4.11/bundler/cli/cache.rb +43 -0
- package/lib/ruby/3.4.11/bundler/cli/check.rb +40 -0
- package/lib/ruby/3.4.11/bundler/cli/clean.rb +25 -0
- package/lib/ruby/3.4.11/bundler/cli/common.rb +138 -0
- package/lib/ruby/3.4.11/bundler/cli/config.rb +204 -0
- package/lib/ruby/3.4.11/bundler/cli/console.rb +42 -0
- package/lib/ruby/3.4.11/bundler/cli/doctor/diagnose.rb +167 -0
- package/lib/ruby/3.4.11/bundler/cli/doctor/ssl.rb +249 -0
- package/lib/ruby/3.4.11/bundler/cli/doctor.rb +33 -0
- package/lib/ruby/3.4.11/bundler/cli/exec.rb +89 -0
- package/lib/ruby/3.4.11/bundler/cli/fund.rb +36 -0
- package/lib/ruby/3.4.11/bundler/cli/gem.rb +467 -0
- package/lib/ruby/3.4.11/bundler/cli/info.rb +83 -0
- package/lib/ruby/3.4.11/bundler/cli/init.rb +51 -0
- package/lib/ruby/3.4.11/bundler/cli/inject.rb +60 -0
- package/lib/ruby/3.4.11/bundler/cli/install.rb +199 -0
- package/lib/ruby/3.4.11/bundler/cli/issue.rb +41 -0
- package/lib/ruby/3.4.11/bundler/cli/list.rb +66 -0
- package/lib/ruby/3.4.11/bundler/cli/lock.rb +94 -0
- package/lib/ruby/3.4.11/bundler/cli/open.rb +29 -0
- package/lib/ruby/3.4.11/bundler/cli/outdated.rb +297 -0
- package/lib/ruby/3.4.11/bundler/cli/platform.rb +48 -0
- package/lib/ruby/3.4.11/bundler/cli/plugin.rb +35 -0
- package/lib/ruby/3.4.11/bundler/cli/pristine.rb +60 -0
- package/lib/ruby/3.4.11/bundler/cli/remove.rb +17 -0
- package/lib/ruby/3.4.11/bundler/cli/show.rb +75 -0
- package/lib/ruby/3.4.11/bundler/cli/update.rb +123 -0
- package/lib/ruby/3.4.11/bundler/cli/viz.rb +31 -0
- package/lib/ruby/3.4.11/bundler/cli.rb +790 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client/cache.rb +96 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client/cache_file.rb +148 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client/parser.rb +84 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client/updater.rb +105 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client.rb +97 -0
- package/lib/ruby/3.4.11/bundler/constants.rb +14 -0
- package/lib/ruby/3.4.11/bundler/current_ruby.rb +82 -0
- package/lib/ruby/3.4.11/bundler/definition.rb +1187 -0
- package/lib/ruby/3.4.11/bundler/dependency.rb +151 -0
- package/lib/ruby/3.4.11/bundler/deployment.rb +69 -0
- package/lib/ruby/3.4.11/bundler/deprecate.rb +44 -0
- package/lib/ruby/3.4.11/bundler/digest.rb +71 -0
- package/lib/ruby/3.4.11/bundler/dsl.rb +638 -0
- package/lib/ruby/3.4.11/bundler/endpoint_specification.rb +174 -0
- package/lib/ruby/3.4.11/bundler/env.rb +148 -0
- package/lib/ruby/3.4.11/bundler/environment_preserver.rb +68 -0
- package/lib/ruby/3.4.11/bundler/errors.rb +281 -0
- package/lib/ruby/3.4.11/bundler/feature_flag.rb +50 -0
- package/lib/ruby/3.4.11/bundler/fetcher/base.rb +52 -0
- package/lib/ruby/3.4.11/bundler/fetcher/compact_index.rb +120 -0
- package/lib/ruby/3.4.11/bundler/fetcher/dependency.rb +78 -0
- package/lib/ruby/3.4.11/bundler/fetcher/downloader.rb +91 -0
- package/lib/ruby/3.4.11/bundler/fetcher/gem_remote_fetcher.rb +16 -0
- package/lib/ruby/3.4.11/bundler/fetcher/index.rb +25 -0
- package/lib/ruby/3.4.11/bundler/fetcher.rb +331 -0
- package/lib/ruby/3.4.11/bundler/force_platform.rb +16 -0
- package/lib/ruby/3.4.11/bundler/friendly_errors.rb +126 -0
- package/lib/ruby/3.4.11/bundler/gem_helper.rb +237 -0
- package/lib/ruby/3.4.11/bundler/gem_helpers.rb +144 -0
- package/lib/ruby/3.4.11/bundler/gem_tasks.rb +7 -0
- package/lib/ruby/3.4.11/bundler/gem_version_promoter.rb +147 -0
- package/lib/ruby/3.4.11/bundler/graph.rb +152 -0
- package/lib/ruby/3.4.11/bundler/index.rb +205 -0
- package/lib/ruby/3.4.11/bundler/injector.rb +285 -0
- package/lib/ruby/3.4.11/bundler/inline.rb +98 -0
- package/lib/ruby/3.4.11/bundler/installer/gem_installer.rb +85 -0
- package/lib/ruby/3.4.11/bundler/installer/parallel_installer.rb +203 -0
- package/lib/ruby/3.4.11/bundler/installer/standalone.rb +113 -0
- package/lib/ruby/3.4.11/bundler/installer.rb +243 -0
- package/lib/ruby/3.4.11/bundler/lazy_specification.rb +243 -0
- package/lib/ruby/3.4.11/bundler/lockfile_generator.rb +104 -0
- package/lib/ruby/3.4.11/bundler/lockfile_parser.rb +300 -0
- package/lib/ruby/3.4.11/bundler/man/.document +1 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-add.1 +76 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-add.1.ronn +87 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1 +33 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1.ronn +44 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-cache.1 +68 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-cache.1.ronn +108 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-check.1 +24 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-check.1.ronn +31 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-clean.1 +17 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-clean.1.ronn +18 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-config.1 +317 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-config.1.ronn +408 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-console.1 +33 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-console.1.ronn +39 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1 +30 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1.ronn +33 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-env.1 +9 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-env.1.ronn +10 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-exec.1 +107 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-exec.1.ronn +154 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-fund.1 +22 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-fund.1.ronn +25 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-gem.1 +87 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-gem.1.ronn +149 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-help.1 +9 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-help.1.ronn +12 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-info.1 +17 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-info.1.ronn +21 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-init.1 +20 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-init.1.ronn +32 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-inject.1 +31 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-inject.1.ronn +32 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-install.1 +218 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-install.1.ronn +387 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-issue.1 +45 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-issue.1.ronn +37 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1 +9 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1.ronn +10 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-list.1 +35 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-list.1.ronn +36 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-lock.1 +75 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-lock.1.ronn +115 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-open.1 +32 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-open.1.ronn +28 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1 +103 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1.ronn +110 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-platform.1 +49 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-platform.1.ronn +49 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1 +58 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1.ronn +63 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1 +23 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1.ronn +34 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-remove.1 +21 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-remove.1.ronn +23 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-show.1 +19 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-show.1.ronn +25 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-update.1 +281 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-update.1.ronn +359 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-version.1 +22 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-version.1.ronn +24 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-viz.1 +30 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-viz.1.ronn +36 -0
- package/lib/ruby/3.4.11/bundler/man/bundle.1 +102 -0
- package/lib/ruby/3.4.11/bundler/man/bundle.1.ronn +116 -0
- package/lib/ruby/3.4.11/bundler/man/gemfile.5 +472 -0
- package/lib/ruby/3.4.11/bundler/man/gemfile.5.ronn +558 -0
- package/lib/ruby/3.4.11/bundler/man/index.txt +33 -0
- package/lib/ruby/3.4.11/bundler/match_metadata.rb +30 -0
- package/lib/ruby/3.4.11/bundler/match_platform.rb +23 -0
- package/lib/ruby/3.4.11/bundler/match_remote_metadata.rb +29 -0
- package/lib/ruby/3.4.11/bundler/materialization.rb +59 -0
- package/lib/ruby/3.4.11/bundler/mirror.rb +221 -0
- package/lib/ruby/3.4.11/bundler/plugin/api/source.rb +322 -0
- package/lib/ruby/3.4.11/bundler/plugin/api.rb +81 -0
- package/lib/ruby/3.4.11/bundler/plugin/dsl.rb +53 -0
- package/lib/ruby/3.4.11/bundler/plugin/events.rb +85 -0
- package/lib/ruby/3.4.11/bundler/plugin/index.rb +197 -0
- package/lib/ruby/3.4.11/bundler/plugin/installer/git.rb +34 -0
- package/lib/ruby/3.4.11/bundler/plugin/installer/path.rb +26 -0
- package/lib/ruby/3.4.11/bundler/plugin/installer/rubygems.rb +19 -0
- package/lib/ruby/3.4.11/bundler/plugin/installer.rb +132 -0
- package/lib/ruby/3.4.11/bundler/plugin/source_list.rb +31 -0
- package/lib/ruby/3.4.11/bundler/plugin.rb +378 -0
- package/lib/ruby/3.4.11/bundler/process_lock.rb +20 -0
- package/lib/ruby/3.4.11/bundler/remote_specification.rb +126 -0
- package/lib/ruby/3.4.11/bundler/resolver/base.rb +118 -0
- package/lib/ruby/3.4.11/bundler/resolver/candidate.rb +85 -0
- package/lib/ruby/3.4.11/bundler/resolver/incompatibility.rb +15 -0
- package/lib/ruby/3.4.11/bundler/resolver/package.rb +94 -0
- package/lib/ruby/3.4.11/bundler/resolver/root.rb +25 -0
- package/lib/ruby/3.4.11/bundler/resolver/spec_group.rb +74 -0
- package/lib/ruby/3.4.11/bundler/resolver/strategy.rb +40 -0
- package/lib/ruby/3.4.11/bundler/resolver.rb +526 -0
- package/lib/ruby/3.4.11/bundler/retry.rb +66 -0
- package/lib/ruby/3.4.11/bundler/ruby_dsl.rb +62 -0
- package/lib/ruby/3.4.11/bundler/ruby_version.rb +137 -0
- package/lib/ruby/3.4.11/bundler/rubygems_ext.rb +485 -0
- package/lib/ruby/3.4.11/bundler/rubygems_gem_installer.rb +172 -0
- package/lib/ruby/3.4.11/bundler/rubygems_integration.rb +455 -0
- package/lib/ruby/3.4.11/bundler/runtime.rb +320 -0
- package/lib/ruby/3.4.11/bundler/safe_marshal.rb +31 -0
- package/lib/ruby/3.4.11/bundler/self_manager.rb +206 -0
- package/lib/ruby/3.4.11/bundler/settings/validator.rb +102 -0
- package/lib/ruby/3.4.11/bundler/settings.rb +599 -0
- package/lib/ruby/3.4.11/bundler/setup.rb +39 -0
- package/lib/ruby/3.4.11/bundler/shared_helpers.rb +398 -0
- package/lib/ruby/3.4.11/bundler/similarity_detector.rb +63 -0
- package/lib/ruby/3.4.11/bundler/source/gemspec.rb +15 -0
- package/lib/ruby/3.4.11/bundler/source/git/git_proxy.rb +472 -0
- package/lib/ruby/3.4.11/bundler/source/git.rb +452 -0
- package/lib/ruby/3.4.11/bundler/source/metadata.rb +63 -0
- package/lib/ruby/3.4.11/bundler/source/path/installer.rb +53 -0
- package/lib/ruby/3.4.11/bundler/source/path.rb +250 -0
- package/lib/ruby/3.4.11/bundler/source/rubygems/remote.rb +76 -0
- package/lib/ruby/3.4.11/bundler/source/rubygems.rb +522 -0
- package/lib/ruby/3.4.11/bundler/source/rubygems_aggregate.rb +68 -0
- package/lib/ruby/3.4.11/bundler/source.rb +118 -0
- package/lib/ruby/3.4.11/bundler/source_list.rb +273 -0
- package/lib/ruby/3.4.11/bundler/source_map.rb +71 -0
- package/lib/ruby/3.4.11/bundler/spec_set.rb +395 -0
- package/lib/ruby/3.4.11/bundler/stub_specification.rb +146 -0
- package/lib/ruby/3.4.11/bundler/templates/.document +1 -0
- package/lib/ruby/3.4.11/bundler/templates/Executable +27 -0
- package/lib/ruby/3.4.11/bundler/templates/Executable.bundler +109 -0
- package/lib/ruby/3.4.11/bundler/templates/Executable.standalone +14 -0
- package/lib/ruby/3.4.11/bundler/templates/Gemfile +5 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +132 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/Cargo.toml.tt +7 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/Gemfile.tt +24 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/LICENSE.txt.tt +21 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/README.md.tt +49 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/Rakefile.tt +67 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/bin/console.tt +11 -0
- 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
- package/lib/ruby/3.4.11/bundler/templates/newgem/circleci/config.yml.tt +25 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/exe/newgem.tt +3 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/github/workflows/main.yml.tt +37 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/gitignore.tt +23 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/gitlab-ci.yml.tt +18 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/newgem.gemspec.tt +52 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/rspec.tt +3 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/rubocop.yml.tt +8 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/spec/newgem_spec.rb.tt +11 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/standard.yml.tt +3 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +13 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
- package/lib/ruby/3.4.11/bundler/ui/rg_proxy.rb +19 -0
- package/lib/ruby/3.4.11/bundler/ui/shell.rb +187 -0
- package/lib/ruby/3.4.11/bundler/ui/silent.rb +96 -0
- package/lib/ruby/3.4.11/bundler/ui.rb +9 -0
- package/lib/ruby/3.4.11/bundler/uri_credentials_filter.rb +43 -0
- package/lib/ruby/3.4.11/bundler/uri_normalizer.rb +23 -0
- package/lib/ruby/3.4.11/bundler/vendor/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +224 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool.rb +186 -0
- package/lib/ruby/3.4.11/bundler/vendor/fileutils/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/fileutils/lib/fileutils.rb +2696 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +41 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +65 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1111 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +169 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +61 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +42 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +423 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +236 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
- package/lib/ruby/3.4.11/bundler/vendor/securerandom/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/securerandom/lib/securerandom.rb +102 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_file.rb +105 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +371 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +130 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions.rb +340 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/base.rb +825 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/command.rb +151 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +107 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/error.rb +106 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/group.rb +292 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/argument.rb +86 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/arguments.rb +195 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/option.rb +178 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/options.rb +294 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser.rb +4 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/runner.rb +335 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/basic.rb +388 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/color.rb +112 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/column_printer.rb +29 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/html.rb +81 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/table_printer.rb +118 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/terminal.rb +42 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +38 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell.rb +81 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/util.rb +285 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/version.rb +3 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor.rb +674 -0
- package/lib/ruby/3.4.11/bundler/vendor/tsort/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/tsort/lib/tsort.rb +455 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/common.rb +880 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/file.rb +100 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/generic.rb +1592 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/http.rb +125 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/https.rb +23 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/version.rb +6 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ws.rb +83 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/wss.rb +23 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri.rb +104 -0
- package/lib/ruby/3.4.11/bundler/vendored_fileutils.rb +4 -0
- package/lib/ruby/3.4.11/bundler/vendored_net_http.rb +23 -0
- package/lib/ruby/3.4.11/bundler/vendored_persistent.rb +11 -0
- package/lib/ruby/3.4.11/bundler/vendored_pub_grub.rb +4 -0
- package/lib/ruby/3.4.11/bundler/vendored_securerandom.rb +12 -0
- package/lib/ruby/3.4.11/bundler/vendored_thor.rb +8 -0
- package/lib/ruby/3.4.11/bundler/vendored_timeout.rb +12 -0
- package/lib/ruby/3.4.11/bundler/vendored_tsort.rb +4 -0
- package/lib/ruby/3.4.11/bundler/vendored_uri.rb +21 -0
- package/lib/ruby/3.4.11/bundler/version.rb +13 -0
- package/lib/ruby/3.4.11/bundler/vlad.rb +17 -0
- package/lib/ruby/3.4.11/bundler/worker.rb +117 -0
- package/lib/ruby/3.4.11/bundler/yaml_serializer.rb +98 -0
- package/lib/ruby/3.4.11/bundler.rb +701 -0
- package/lib/ruby/3.4.11/cgi/cgi.gemspec +43 -0
- package/lib/ruby/3.4.11/cgi/cookie.rb +210 -0
- package/lib/ruby/3.4.11/cgi/core.rb +900 -0
- package/lib/ruby/3.4.11/cgi/html.rb +1035 -0
- package/lib/ruby/3.4.11/cgi/session/pstore.rb +91 -0
- package/lib/ruby/3.4.11/cgi/session.rb +562 -0
- package/lib/ruby/3.4.11/cgi/util.rb +258 -0
- package/lib/ruby/3.4.11/cgi.rb +297 -0
- package/lib/ruby/3.4.11/delegate.gemspec +29 -0
- package/lib/ruby/3.4.11/delegate.rb +444 -0
- package/lib/ruby/3.4.11/did_you_mean/core_ext/name_error.rb +57 -0
- package/lib/ruby/3.4.11/did_you_mean/did_you_mean.gemspec +25 -0
- package/lib/ruby/3.4.11/did_you_mean/experimental.rb +2 -0
- package/lib/ruby/3.4.11/did_you_mean/formatter.rb +44 -0
- package/lib/ruby/3.4.11/did_you_mean/formatters/plain_formatter.rb +4 -0
- package/lib/ruby/3.4.11/did_you_mean/formatters/verbose_formatter.rb +10 -0
- package/lib/ruby/3.4.11/did_you_mean/jaro_winkler.rb +84 -0
- package/lib/ruby/3.4.11/did_you_mean/levenshtein.rb +57 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checker.rb +46 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/key_error_checker.rb +28 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/method_name_checker.rb +79 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +49 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +85 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers.rb +20 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/null_checker.rb +6 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/pattern_key_name_checker.rb +28 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/require_path_checker.rb +39 -0
- package/lib/ruby/3.4.11/did_you_mean/tree_spell_checker.rb +109 -0
- package/lib/ruby/3.4.11/did_you_mean/verbose.rb +2 -0
- package/lib/ruby/3.4.11/did_you_mean/version.rb +3 -0
- package/lib/ruby/3.4.11/did_you_mean.rb +131 -0
- package/lib/ruby/3.4.11/erb/compiler.rb +472 -0
- package/lib/ruby/3.4.11/erb/def_method.rb +47 -0
- package/lib/ruby/3.4.11/erb/util.rb +63 -0
- package/lib/ruby/3.4.11/erb/version.rb +5 -0
- package/lib/ruby/3.4.11/erb.gemspec +38 -0
- package/lib/ruby/3.4.11/erb.rb +509 -0
- package/lib/ruby/3.4.11/error_highlight/base.rb +830 -0
- package/lib/ruby/3.4.11/error_highlight/core_ext.rb +47 -0
- package/lib/ruby/3.4.11/error_highlight/error_highlight.gemspec +27 -0
- package/lib/ruby/3.4.11/error_highlight/formatter.rb +74 -0
- package/lib/ruby/3.4.11/error_highlight/version.rb +3 -0
- package/lib/ruby/3.4.11/error_highlight.rb +2 -0
- package/lib/ruby/3.4.11/fileutils.gemspec +31 -0
- package/lib/ruby/3.4.11/fileutils.rb +2696 -0
- package/lib/ruby/3.4.11/find.gemspec +29 -0
- package/lib/ruby/3.4.11/find.rb +90 -0
- package/lib/ruby/3.4.11/forwardable/forwardable.gemspec +26 -0
- package/lib/ruby/3.4.11/forwardable/impl.rb +17 -0
- package/lib/ruby/3.4.11/forwardable.rb +321 -0
- package/lib/ruby/3.4.11/ipaddr.gemspec +36 -0
- package/lib/ruby/3.4.11/ipaddr.rb +841 -0
- package/lib/ruby/3.4.11/irb/cmd/nop.rb +4 -0
- package/lib/ruby/3.4.11/irb/color.rb +262 -0
- package/lib/ruby/3.4.11/irb/color_printer.rb +55 -0
- package/lib/ruby/3.4.11/irb/command/backtrace.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/base.rb +60 -0
- package/lib/ruby/3.4.11/irb/command/break.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/catch.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/cd.rb +51 -0
- package/lib/ruby/3.4.11/irb/command/chws.rb +40 -0
- package/lib/ruby/3.4.11/irb/command/context.rb +16 -0
- package/lib/ruby/3.4.11/irb/command/continue.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/debug.rb +73 -0
- package/lib/ruby/3.4.11/irb/command/delete.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/disable_irb.rb +19 -0
- package/lib/ruby/3.4.11/irb/command/edit.rb +63 -0
- package/lib/ruby/3.4.11/irb/command/exit.rb +18 -0
- package/lib/ruby/3.4.11/irb/command/finish.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/force_exit.rb +18 -0
- package/lib/ruby/3.4.11/irb/command/help.rb +83 -0
- package/lib/ruby/3.4.11/irb/command/history.rb +45 -0
- package/lib/ruby/3.4.11/irb/command/info.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/internal_helpers.rb +27 -0
- package/lib/ruby/3.4.11/irb/command/irb_info.rb +33 -0
- package/lib/ruby/3.4.11/irb/command/load.rb +91 -0
- package/lib/ruby/3.4.11/irb/command/ls.rb +167 -0
- package/lib/ruby/3.4.11/irb/command/measure.rb +49 -0
- package/lib/ruby/3.4.11/irb/command/next.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/pushws.rb +65 -0
- package/lib/ruby/3.4.11/irb/command/show_doc.rb +51 -0
- package/lib/ruby/3.4.11/irb/command/show_source.rb +74 -0
- package/lib/ruby/3.4.11/irb/command/step.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/subirb.rb +123 -0
- package/lib/ruby/3.4.11/irb/command/whereami.rb +23 -0
- package/lib/ruby/3.4.11/irb/command.rb +23 -0
- package/lib/ruby/3.4.11/irb/completion.rb +504 -0
- package/lib/ruby/3.4.11/irb/context.rb +716 -0
- package/lib/ruby/3.4.11/irb/debug/ui.rb +101 -0
- package/lib/ruby/3.4.11/irb/debug.rb +127 -0
- package/lib/ruby/3.4.11/irb/default_commands.rb +276 -0
- package/lib/ruby/3.4.11/irb/easter-egg.rb +152 -0
- package/lib/ruby/3.4.11/irb/ext/change-ws.rb +37 -0
- package/lib/ruby/3.4.11/irb/ext/eval_history.rb +149 -0
- package/lib/ruby/3.4.11/irb/ext/loader.rb +127 -0
- package/lib/ruby/3.4.11/irb/ext/multi-irb.rb +258 -0
- package/lib/ruby/3.4.11/irb/ext/tracer.rb +39 -0
- package/lib/ruby/3.4.11/irb/ext/use-loader.rb +67 -0
- package/lib/ruby/3.4.11/irb/ext/workspaces.rb +36 -0
- package/lib/ruby/3.4.11/irb/frame.rb +80 -0
- package/lib/ruby/3.4.11/irb/help.rb +28 -0
- package/lib/ruby/3.4.11/irb/helper_method/base.rb +16 -0
- package/lib/ruby/3.4.11/irb/helper_method/conf.rb +11 -0
- package/lib/ruby/3.4.11/irb/helper_method.rb +29 -0
- package/lib/ruby/3.4.11/irb/history.rb +112 -0
- package/lib/ruby/3.4.11/irb/init.rb +538 -0
- package/lib/ruby/3.4.11/irb/input-method.rb +515 -0
- package/lib/ruby/3.4.11/irb/inspector.rb +131 -0
- package/lib/ruby/3.4.11/irb/irb.gemspec +46 -0
- package/lib/ruby/3.4.11/irb/lc/error.rb +52 -0
- package/lib/ruby/3.4.11/irb/lc/help-message +55 -0
- package/lib/ruby/3.4.11/irb/lc/ja/error.rb +53 -0
- package/lib/ruby/3.4.11/irb/lc/ja/help-message +58 -0
- package/lib/ruby/3.4.11/irb/locale.rb +153 -0
- package/lib/ruby/3.4.11/irb/nesting_parser.rb +239 -0
- package/lib/ruby/3.4.11/irb/notifier.rb +230 -0
- package/lib/ruby/3.4.11/irb/output-method.rb +80 -0
- package/lib/ruby/3.4.11/irb/pager.rb +100 -0
- package/lib/ruby/3.4.11/irb/ruby-lex.rb +476 -0
- package/lib/ruby/3.4.11/irb/ruby_logo.aa +118 -0
- package/lib/ruby/3.4.11/irb/source_finder.rb +138 -0
- package/lib/ruby/3.4.11/irb/statement.rb +80 -0
- package/lib/ruby/3.4.11/irb/version.rb +11 -0
- package/lib/ruby/3.4.11/irb/workspace.rb +171 -0
- package/lib/ruby/3.4.11/irb/ws-for-case-2.rb +9 -0
- package/lib/ruby/3.4.11/irb/xmp.rb +164 -0
- package/lib/ruby/3.4.11/irb.rb +1593 -0
- package/lib/ruby/3.4.11/logger/errors.rb +9 -0
- package/lib/ruby/3.4.11/logger/formatter.rb +36 -0
- package/lib/ruby/3.4.11/logger/log_device.rb +236 -0
- package/lib/ruby/3.4.11/logger/logger.gemspec +22 -0
- package/lib/ruby/3.4.11/logger/period.rb +47 -0
- package/lib/ruby/3.4.11/logger/severity.rb +38 -0
- package/lib/ruby/3.4.11/logger/version.rb +5 -0
- package/lib/ruby/3.4.11/logger.rb +761 -0
- package/lib/ruby/3.4.11/mkmf.rb +3045 -0
- package/lib/ruby/3.4.11/net/http/exceptions.rb +34 -0
- package/lib/ruby/3.4.11/net/http/generic_request.rb +414 -0
- package/lib/ruby/3.4.11/net/http/header.rb +981 -0
- package/lib/ruby/3.4.11/net/http/net-http.gemspec +39 -0
- package/lib/ruby/3.4.11/net/http/proxy_delta.rb +17 -0
- package/lib/ruby/3.4.11/net/http/request.rb +88 -0
- package/lib/ruby/3.4.11/net/http/requests.rb +430 -0
- package/lib/ruby/3.4.11/net/http/response.rb +738 -0
- package/lib/ruby/3.4.11/net/http/responses.rb +1174 -0
- package/lib/ruby/3.4.11/net/http/status.rb +84 -0
- package/lib/ruby/3.4.11/net/http.rb +2574 -0
- package/lib/ruby/3.4.11/net/https.rb +23 -0
- package/lib/ruby/3.4.11/net/net-protocol.gemspec +34 -0
- package/lib/ruby/3.4.11/net/protocol.rb +544 -0
- package/lib/ruby/3.4.11/open-uri.gemspec +32 -0
- package/lib/ruby/3.4.11/open-uri.rb +895 -0
- package/lib/ruby/3.4.11/open3/open3.gemspec +33 -0
- package/lib/ruby/3.4.11/open3/version.rb +3 -0
- package/lib/ruby/3.4.11/open3.rb +1410 -0
- package/lib/ruby/3.4.11/optionparser.rb +2 -0
- package/lib/ruby/3.4.11/optparse/ac.rb +70 -0
- package/lib/ruby/3.4.11/optparse/date.rb +18 -0
- package/lib/ruby/3.4.11/optparse/kwargs.rb +27 -0
- package/lib/ruby/3.4.11/optparse/optparse.gemspec +31 -0
- package/lib/ruby/3.4.11/optparse/shellwords.rb +7 -0
- package/lib/ruby/3.4.11/optparse/time.rb +11 -0
- package/lib/ruby/3.4.11/optparse/uri.rb +7 -0
- package/lib/ruby/3.4.11/optparse/version.rb +80 -0
- package/lib/ruby/3.4.11/optparse.rb +2429 -0
- package/lib/ruby/3.4.11/ostruct.gemspec +24 -0
- package/lib/ruby/3.4.11/ostruct.rb +489 -0
- package/lib/ruby/3.4.11/pp.gemspec +35 -0
- package/lib/ruby/3.4.11/pp.rb +699 -0
- package/lib/ruby/3.4.11/prettyprint.gemspec +29 -0
- package/lib/ruby/3.4.11/prettyprint.rb +558 -0
- package/lib/ruby/3.4.11/prism/compiler.rb +801 -0
- package/lib/ruby/3.4.11/prism/desugar_compiler.rb +392 -0
- package/lib/ruby/3.4.11/prism/dispatcher.rb +2210 -0
- package/lib/ruby/3.4.11/prism/dsl.rb +1003 -0
- package/lib/ruby/3.4.11/prism/ffi.rb +570 -0
- package/lib/ruby/3.4.11/prism/inspect_visitor.rb +2392 -0
- package/lib/ruby/3.4.11/prism/lex_compat.rb +928 -0
- package/lib/ruby/3.4.11/prism/mutation_compiler.rb +772 -0
- package/lib/ruby/3.4.11/prism/node.rb +18816 -0
- package/lib/ruby/3.4.11/prism/node_ext.rb +511 -0
- package/lib/ruby/3.4.11/prism/pack.rb +230 -0
- package/lib/ruby/3.4.11/prism/parse_result/comments.rb +188 -0
- package/lib/ruby/3.4.11/prism/parse_result/errors.rb +66 -0
- package/lib/ruby/3.4.11/prism/parse_result/newlines.rb +155 -0
- package/lib/ruby/3.4.11/prism/parse_result.rb +911 -0
- package/lib/ruby/3.4.11/prism/pattern.rb +269 -0
- package/lib/ruby/3.4.11/prism/polyfill/append_as_bytes.rb +15 -0
- package/lib/ruby/3.4.11/prism/polyfill/byteindex.rb +13 -0
- package/lib/ruby/3.4.11/prism/polyfill/scan_byte.rb +14 -0
- package/lib/ruby/3.4.11/prism/polyfill/unpack1.rb +14 -0
- package/lib/ruby/3.4.11/prism/polyfill/warn.rb +36 -0
- package/lib/ruby/3.4.11/prism/prism.gemspec +174 -0
- package/lib/ruby/3.4.11/prism/reflection.rb +416 -0
- package/lib/ruby/3.4.11/prism/relocation.rb +505 -0
- package/lib/ruby/3.4.11/prism/serialize.rb +2400 -0
- package/lib/ruby/3.4.11/prism/string_query.rb +31 -0
- package/lib/ruby/3.4.11/prism/translation/parser/builder.rb +62 -0
- package/lib/ruby/3.4.11/prism/translation/parser/compiler.rb +2234 -0
- package/lib/ruby/3.4.11/prism/translation/parser/lexer.rb +820 -0
- package/lib/ruby/3.4.11/prism/translation/parser.rb +374 -0
- package/lib/ruby/3.4.11/prism/translation/parser33.rb +13 -0
- package/lib/ruby/3.4.11/prism/translation/parser34.rb +13 -0
- package/lib/ruby/3.4.11/prism/translation/parser35.rb +13 -0
- package/lib/ruby/3.4.11/prism/translation/parser_current.rb +24 -0
- package/lib/ruby/3.4.11/prism/translation/ripper/sexp.rb +126 -0
- package/lib/ruby/3.4.11/prism/translation/ripper/shim.rb +5 -0
- package/lib/ruby/3.4.11/prism/translation/ripper.rb +3474 -0
- package/lib/ruby/3.4.11/prism/translation/ruby_parser.rb +1929 -0
- package/lib/ruby/3.4.11/prism/translation.rb +16 -0
- package/lib/ruby/3.4.11/prism/visitor.rb +813 -0
- package/lib/ruby/3.4.11/prism.rb +91 -0
- package/lib/ruby/3.4.11/pstore.gemspec +32 -0
- package/lib/ruby/3.4.11/pstore.rb +736 -0
- package/lib/ruby/3.4.11/random/formatter.rb +372 -0
- package/lib/ruby/3.4.11/rdoc/.document +2 -0
- package/lib/ruby/3.4.11/rdoc/code_object/alias.rb +104 -0
- package/lib/ruby/3.4.11/rdoc/code_object/anon_class.rb +10 -0
- package/lib/ruby/3.4.11/rdoc/code_object/any_method.rb +374 -0
- package/lib/ruby/3.4.11/rdoc/code_object/attr.rb +172 -0
- package/lib/ruby/3.4.11/rdoc/code_object/class_module.rb +888 -0
- package/lib/ruby/3.4.11/rdoc/code_object/constant.rb +186 -0
- package/lib/ruby/3.4.11/rdoc/code_object/context/section.rb +175 -0
- package/lib/ruby/3.4.11/rdoc/code_object/context.rb +1222 -0
- package/lib/ruby/3.4.11/rdoc/code_object/extend.rb +9 -0
- package/lib/ruby/3.4.11/rdoc/code_object/ghost_method.rb +6 -0
- package/lib/ruby/3.4.11/rdoc/code_object/include.rb +9 -0
- package/lib/ruby/3.4.11/rdoc/code_object/meta_method.rb +6 -0
- package/lib/ruby/3.4.11/rdoc/code_object/method_attr.rb +410 -0
- package/lib/ruby/3.4.11/rdoc/code_object/mixin.rb +120 -0
- package/lib/ruby/3.4.11/rdoc/code_object/normal_class.rb +92 -0
- package/lib/ruby/3.4.11/rdoc/code_object/normal_module.rb +73 -0
- package/lib/ruby/3.4.11/rdoc/code_object/require.rb +51 -0
- package/lib/ruby/3.4.11/rdoc/code_object/single_class.rb +30 -0
- package/lib/ruby/3.4.11/rdoc/code_object/top_level.rb +273 -0
- package/lib/ruby/3.4.11/rdoc/code_object.rb +395 -0
- package/lib/ruby/3.4.11/rdoc/code_objects.rb +5 -0
- package/lib/ruby/3.4.11/rdoc/comment.rb +236 -0
- package/lib/ruby/3.4.11/rdoc/cross_reference.rb +228 -0
- package/lib/ruby/3.4.11/rdoc/encoding.rb +120 -0
- package/lib/ruby/3.4.11/rdoc/erb_partial.rb +18 -0
- package/lib/ruby/3.4.11/rdoc/erbio.rb +37 -0
- package/lib/ruby/3.4.11/rdoc/generator/darkfish.rb +812 -0
- package/lib/ruby/3.4.11/rdoc/generator/json_index.rb +284 -0
- package/lib/ruby/3.4.11/rdoc/generator/markup.rb +171 -0
- package/lib/ruby/3.4.11/rdoc/generator/pot/message_extractor.rb +68 -0
- package/lib/ruby/3.4.11/rdoc/generator/pot/po.rb +84 -0
- package/lib/ruby/3.4.11/rdoc/generator/pot/po_entry.rb +141 -0
- package/lib/ruby/3.4.11/rdoc/generator/pot.rb +94 -0
- package/lib/ruby/3.4.11/rdoc/generator/ri.rb +30 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/.document +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_head.rhtml +48 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +5 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +21 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +32 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +6 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +39 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +3 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/class.rhtml +221 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/fonts.css +167 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/rdoc.css +683 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/add.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bug.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/date.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/delete.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/find.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/package.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/index.rhtml +23 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/darkfish.js +120 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/search.js +110 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/page.rhtml +18 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_not_found.rhtml +20 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_root.rhtml +65 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/table_of_contents.rhtml +70 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/.document +1 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/navigation.js +105 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/searcher.js +229 -0
- package/lib/ruby/3.4.11/rdoc/generator.rb +51 -0
- package/lib/ruby/3.4.11/rdoc/i18n/locale.rb +102 -0
- package/lib/ruby/3.4.11/rdoc/i18n/text.rb +126 -0
- package/lib/ruby/3.4.11/rdoc/i18n.rb +10 -0
- package/lib/ruby/3.4.11/rdoc/known_classes.rb +74 -0
- package/lib/ruby/3.4.11/rdoc/markdown/.document +1 -0
- package/lib/ruby/3.4.11/rdoc/markdown/entities.rb +2131 -0
- package/lib/ruby/3.4.11/rdoc/markdown/literals.rb +454 -0
- package/lib/ruby/3.4.11/rdoc/markdown.rb +16806 -0
- package/lib/ruby/3.4.11/rdoc/markup/attr_changer.rb +22 -0
- package/lib/ruby/3.4.11/rdoc/markup/attr_span.rb +35 -0
- package/lib/ruby/3.4.11/rdoc/markup/attribute_manager.rb +405 -0
- package/lib/ruby/3.4.11/rdoc/markup/attributes.rb +70 -0
- package/lib/ruby/3.4.11/rdoc/markup/blank_line.rb +27 -0
- package/lib/ruby/3.4.11/rdoc/markup/block_quote.rb +14 -0
- package/lib/ruby/3.4.11/rdoc/markup/document.rb +164 -0
- package/lib/ruby/3.4.11/rdoc/markup/formatter.rb +272 -0
- package/lib/ruby/3.4.11/rdoc/markup/hard_break.rb +31 -0
- package/lib/ruby/3.4.11/rdoc/markup/heading.rb +84 -0
- package/lib/ruby/3.4.11/rdoc/markup/include.rb +42 -0
- package/lib/ruby/3.4.11/rdoc/markup/indented_paragraph.rb +47 -0
- package/lib/ruby/3.4.11/rdoc/markup/list.rb +101 -0
- package/lib/ruby/3.4.11/rdoc/markup/list_item.rb +99 -0
- package/lib/ruby/3.4.11/rdoc/markup/paragraph.rb +28 -0
- package/lib/ruby/3.4.11/rdoc/markup/parser.rb +585 -0
- package/lib/ruby/3.4.11/rdoc/markup/pre_process.rb +318 -0
- package/lib/ruby/3.4.11/rdoc/markup/raw.rb +69 -0
- package/lib/ruby/3.4.11/rdoc/markup/regexp_handling.rb +40 -0
- package/lib/ruby/3.4.11/rdoc/markup/rule.rb +20 -0
- package/lib/ruby/3.4.11/rdoc/markup/table.rb +56 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_ansi.rb +93 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_bs.rb +102 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_html.rb +462 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_html_crossref.rb +226 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_html_snippet.rb +287 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_joined_paragraph.rb +46 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_label.rb +74 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_markdown.rb +191 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_rdoc.rb +353 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_table_of_contents.rb +88 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_test.rb +69 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_tt_only.rb +120 -0
- package/lib/ruby/3.4.11/rdoc/markup/verbatim.rb +83 -0
- package/lib/ruby/3.4.11/rdoc/markup.rb +240 -0
- package/lib/ruby/3.4.11/rdoc/options.rb +1416 -0
- package/lib/ruby/3.4.11/rdoc/parser/c.rb +1257 -0
- package/lib/ruby/3.4.11/rdoc/parser/changelog.rb +350 -0
- package/lib/ruby/3.4.11/rdoc/parser/markdown.rb +22 -0
- package/lib/ruby/3.4.11/rdoc/parser/prism_ruby.rb +1092 -0
- package/lib/ruby/3.4.11/rdoc/parser/rd.rb +22 -0
- package/lib/ruby/3.4.11/rdoc/parser/ripper_state_lex.rb +302 -0
- package/lib/ruby/3.4.11/rdoc/parser/ruby.rb +2378 -0
- package/lib/ruby/3.4.11/rdoc/parser/ruby_tools.rb +165 -0
- package/lib/ruby/3.4.11/rdoc/parser/simple.rb +61 -0
- package/lib/ruby/3.4.11/rdoc/parser/text.rb +11 -0
- package/lib/ruby/3.4.11/rdoc/parser.rb +297 -0
- package/lib/ruby/3.4.11/rdoc/rd/.document +1 -0
- package/lib/ruby/3.4.11/rdoc/rd/block_parser.rb +1706 -0
- package/lib/ruby/3.4.11/rdoc/rd/inline.rb +71 -0
- package/lib/ruby/3.4.11/rdoc/rd/inline_parser.rb +1854 -0
- package/lib/ruby/3.4.11/rdoc/rd.rb +99 -0
- package/lib/ruby/3.4.11/rdoc/rdoc.gemspec +68 -0
- package/lib/ruby/3.4.11/rdoc/rdoc.rb +551 -0
- package/lib/ruby/3.4.11/rdoc/ri/driver.rb +1566 -0
- package/lib/ruby/3.4.11/rdoc/ri/formatter.rb +6 -0
- package/lib/ruby/3.4.11/rdoc/ri/paths.rb +171 -0
- package/lib/ruby/3.4.11/rdoc/ri/store.rb +6 -0
- package/lib/ruby/3.4.11/rdoc/ri/task.rb +71 -0
- package/lib/ruby/3.4.11/rdoc/ri.rb +20 -0
- package/lib/ruby/3.4.11/rdoc/rubygems_hook.rb +327 -0
- package/lib/ruby/3.4.11/rdoc/servlet.rb +452 -0
- package/lib/ruby/3.4.11/rdoc/stats/normal.rb +58 -0
- package/lib/ruby/3.4.11/rdoc/stats/quiet.rb +59 -0
- package/lib/ruby/3.4.11/rdoc/stats/verbose.rb +44 -0
- package/lib/ruby/3.4.11/rdoc/stats.rb +461 -0
- package/lib/ruby/3.4.11/rdoc/store.rb +997 -0
- package/lib/ruby/3.4.11/rdoc/task.rb +354 -0
- package/lib/ruby/3.4.11/rdoc/text.rb +322 -0
- package/lib/ruby/3.4.11/rdoc/token_stream.rb +118 -0
- package/lib/ruby/3.4.11/rdoc/tom_doc.rb +257 -0
- package/lib/ruby/3.4.11/rdoc/version.rb +10 -0
- package/lib/ruby/3.4.11/rdoc.rb +211 -0
- package/lib/ruby/3.4.11/readline.gemspec +33 -0
- package/lib/ruby/3.4.11/readline.rb +7 -0
- package/lib/ruby/3.4.11/reline/config.rb +373 -0
- package/lib/ruby/3.4.11/reline/face.rb +199 -0
- package/lib/ruby/3.4.11/reline/history.rb +76 -0
- package/lib/ruby/3.4.11/reline/io/ansi.rb +325 -0
- package/lib/ruby/3.4.11/reline/io/dumb.rb +120 -0
- package/lib/ruby/3.4.11/reline/io/windows.rb +530 -0
- package/lib/ruby/3.4.11/reline/io.rb +55 -0
- package/lib/ruby/3.4.11/reline/key_actor/base.rb +37 -0
- package/lib/ruby/3.4.11/reline/key_actor/composite.rb +17 -0
- package/lib/ruby/3.4.11/reline/key_actor/emacs.rb +517 -0
- package/lib/ruby/3.4.11/reline/key_actor/vi_command.rb +518 -0
- package/lib/ruby/3.4.11/reline/key_actor/vi_insert.rb +517 -0
- package/lib/ruby/3.4.11/reline/key_actor.rb +8 -0
- package/lib/ruby/3.4.11/reline/key_stroke.rb +119 -0
- package/lib/ruby/3.4.11/reline/kill_ring.rb +125 -0
- package/lib/ruby/3.4.11/reline/line_editor.rb +2382 -0
- package/lib/ruby/3.4.11/reline/reline.gemspec +30 -0
- package/lib/ruby/3.4.11/reline/unicode/east_asian_width.rb +1267 -0
- package/lib/ruby/3.4.11/reline/unicode.rb +415 -0
- package/lib/ruby/3.4.11/reline/version.rb +3 -0
- package/lib/ruby/3.4.11/reline.rb +519 -0
- package/lib/ruby/3.4.11/resolv.gemspec +30 -0
- package/lib/ruby/3.4.11/resolv.rb +3587 -0
- package/lib/ruby/3.4.11/ruby2_keywords.gemspec +23 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/.document +1 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/assembler.rb +1160 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/block.rb +11 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/branch_stub.rb +24 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/c_pointer.rb +394 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/c_type.rb +99 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/code_block.rb +91 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/compiler.rb +518 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/context.rb +377 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/entry_stub.rb +7 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/exit_compiler.rb +164 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/hooks.rb +36 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/insn_compiler.rb +6046 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/instruction.rb +1326 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/invariants.rb +155 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/jit_state.rb +65 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/stats.rb +191 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/type.rb +221 -0
- package/lib/ruby/3.4.11/rubygems/available_set.rb +165 -0
- package/lib/ruby/3.4.11/rubygems/basic_specification.rb +383 -0
- package/lib/ruby/3.4.11/rubygems/bundler_version_finder.rb +77 -0
- package/lib/ruby/3.4.11/rubygems/ci_detector.rb +75 -0
- package/lib/ruby/3.4.11/rubygems/command.rb +664 -0
- package/lib/ruby/3.4.11/rubygems/command_manager.rb +255 -0
- package/lib/ruby/3.4.11/rubygems/commands/build_command.rb +127 -0
- package/lib/ruby/3.4.11/rubygems/commands/cert_command.rb +325 -0
- package/lib/ruby/3.4.11/rubygems/commands/check_command.rb +97 -0
- package/lib/ruby/3.4.11/rubygems/commands/cleanup_command.rb +178 -0
- package/lib/ruby/3.4.11/rubygems/commands/contents_command.rb +196 -0
- package/lib/ruby/3.4.11/rubygems/commands/dependency_command.rb +206 -0
- package/lib/ruby/3.4.11/rubygems/commands/environment_command.rb +181 -0
- package/lib/ruby/3.4.11/rubygems/commands/exec_command.rb +256 -0
- package/lib/ruby/3.4.11/rubygems/commands/fetch_command.rb +109 -0
- package/lib/ruby/3.4.11/rubygems/commands/generate_index_command.rb +51 -0
- package/lib/ruby/3.4.11/rubygems/commands/help_command.rb +375 -0
- package/lib/ruby/3.4.11/rubygems/commands/info_command.rb +38 -0
- package/lib/ruby/3.4.11/rubygems/commands/install_command.rb +269 -0
- package/lib/ruby/3.4.11/rubygems/commands/list_command.rb +42 -0
- package/lib/ruby/3.4.11/rubygems/commands/lock_command.rb +109 -0
- package/lib/ruby/3.4.11/rubygems/commands/mirror_command.rb +26 -0
- package/lib/ruby/3.4.11/rubygems/commands/open_command.rb +83 -0
- package/lib/ruby/3.4.11/rubygems/commands/outdated_command.rb +33 -0
- package/lib/ruby/3.4.11/rubygems/commands/owner_command.rb +124 -0
- package/lib/ruby/3.4.11/rubygems/commands/pristine_command.rb +217 -0
- package/lib/ruby/3.4.11/rubygems/commands/push_command.rb +135 -0
- package/lib/ruby/3.4.11/rubygems/commands/query_command.rb +43 -0
- package/lib/ruby/3.4.11/rubygems/commands/rdoc_command.rb +90 -0
- package/lib/ruby/3.4.11/rubygems/commands/rebuild_command.rb +262 -0
- package/lib/ruby/3.4.11/rubygems/commands/search_command.rb +41 -0
- package/lib/ruby/3.4.11/rubygems/commands/server_command.rb +26 -0
- package/lib/ruby/3.4.11/rubygems/commands/setup_command.rb +663 -0
- package/lib/ruby/3.4.11/rubygems/commands/signin_command.rb +34 -0
- package/lib/ruby/3.4.11/rubygems/commands/signout_command.rb +32 -0
- package/lib/ruby/3.4.11/rubygems/commands/sources_command.rb +227 -0
- package/lib/ruby/3.4.11/rubygems/commands/specification_command.rb +156 -0
- package/lib/ruby/3.4.11/rubygems/commands/stale_command.rb +40 -0
- package/lib/ruby/3.4.11/rubygems/commands/uninstall_command.rb +204 -0
- package/lib/ruby/3.4.11/rubygems/commands/unpack_command.rb +168 -0
- package/lib/ruby/3.4.11/rubygems/commands/update_command.rb +326 -0
- package/lib/ruby/3.4.11/rubygems/commands/which_command.rb +88 -0
- package/lib/ruby/3.4.11/rubygems/commands/yank_command.rb +99 -0
- package/lib/ruby/3.4.11/rubygems/compatibility.rb +41 -0
- package/lib/ruby/3.4.11/rubygems/config_file.rb +618 -0
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_gem.rb +68 -0
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_require.rb +149 -0
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_warn.rb +45 -0
- package/lib/ruby/3.4.11/rubygems/core_ext/tcpsocket_init.rb +54 -0
- package/lib/ruby/3.4.11/rubygems/defaults.rb +308 -0
- package/lib/ruby/3.4.11/rubygems/dependency.rb +348 -0
- package/lib/ruby/3.4.11/rubygems/dependency_installer.rb +335 -0
- package/lib/ruby/3.4.11/rubygems/dependency_list.rb +243 -0
- package/lib/ruby/3.4.11/rubygems/deprecate.rb +169 -0
- package/lib/ruby/3.4.11/rubygems/doctor.rb +132 -0
- package/lib/ruby/3.4.11/rubygems/errors.rb +177 -0
- package/lib/ruby/3.4.11/rubygems/exceptions.rb +293 -0
- package/lib/ruby/3.4.11/rubygems/ext/build_error.rb +9 -0
- package/lib/ruby/3.4.11/rubygems/ext/builder.rb +260 -0
- package/lib/ruby/3.4.11/rubygems/ext/cargo_builder/link_flag_converter.rb +27 -0
- package/lib/ruby/3.4.11/rubygems/ext/cargo_builder.rb +346 -0
- package/lib/ruby/3.4.11/rubygems/ext/cmake_builder.rb +21 -0
- package/lib/ruby/3.4.11/rubygems/ext/configure_builder.rb +26 -0
- package/lib/ruby/3.4.11/rubygems/ext/ext_conf_builder.rb +77 -0
- package/lib/ruby/3.4.11/rubygems/ext/rake_builder.rb +37 -0
- package/lib/ruby/3.4.11/rubygems/ext.rb +20 -0
- package/lib/ruby/3.4.11/rubygems/gem_runner.rb +89 -0
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener/response.rb +163 -0
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener.rb +105 -0
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_poller.rb +80 -0
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities.rb +397 -0
- package/lib/ruby/3.4.11/rubygems/gemspec_helpers.rb +19 -0
- package/lib/ruby/3.4.11/rubygems/install_default_message.rb +13 -0
- package/lib/ruby/3.4.11/rubygems/install_message.rb +13 -0
- package/lib/ruby/3.4.11/rubygems/install_update_options.rb +204 -0
- package/lib/ruby/3.4.11/rubygems/installer.rb +1031 -0
- package/lib/ruby/3.4.11/rubygems/installer_uninstaller_utils.rb +27 -0
- package/lib/ruby/3.4.11/rubygems/local_remote_options.rb +146 -0
- package/lib/ruby/3.4.11/rubygems/name_tuple.rb +119 -0
- package/lib/ruby/3.4.11/rubygems/openssl.rb +7 -0
- package/lib/ruby/3.4.11/rubygems/package/digest_io.rb +63 -0
- package/lib/ruby/3.4.11/rubygems/package/file_source.rb +32 -0
- package/lib/ruby/3.4.11/rubygems/package/io_source.rb +48 -0
- package/lib/ruby/3.4.11/rubygems/package/old.rb +169 -0
- package/lib/ruby/3.4.11/rubygems/package/source.rb +4 -0
- package/lib/ruby/3.4.11/rubygems/package/tar_header.rb +277 -0
- package/lib/ruby/3.4.11/rubygems/package/tar_reader/entry.rb +244 -0
- package/lib/ruby/3.4.11/rubygems/package/tar_reader.rb +101 -0
- package/lib/ruby/3.4.11/rubygems/package/tar_writer.rb +332 -0
- package/lib/ruby/3.4.11/rubygems/package.rb +742 -0
- package/lib/ruby/3.4.11/rubygems/package_task.rb +123 -0
- package/lib/ruby/3.4.11/rubygems/path_support.rb +85 -0
- package/lib/ruby/3.4.11/rubygems/platform.rb +269 -0
- package/lib/ruby/3.4.11/rubygems/psych_tree.rb +37 -0
- package/lib/ruby/3.4.11/rubygems/query_utils.rb +349 -0
- package/lib/ruby/3.4.11/rubygems/rdoc.rb +26 -0
- package/lib/ruby/3.4.11/rubygems/remote_fetcher.rb +341 -0
- package/lib/ruby/3.4.11/rubygems/request/connection_pools.rb +95 -0
- package/lib/ruby/3.4.11/rubygems/request/http_pool.rb +47 -0
- package/lib/ruby/3.4.11/rubygems/request/https_pool.rb +10 -0
- package/lib/ruby/3.4.11/rubygems/request.rb +298 -0
- package/lib/ruby/3.4.11/rubygems/request_set/gem_dependency_api.rb +841 -0
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile/parser.rb +344 -0
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile/tokenizer.rb +122 -0
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile.rb +235 -0
- package/lib/ruby/3.4.11/rubygems/request_set.rb +468 -0
- package/lib/ruby/3.4.11/rubygems/requirement.rb +298 -0
- package/lib/ruby/3.4.11/rubygems/resolver/activation_request.rb +159 -0
- package/lib/ruby/3.4.11/rubygems/resolver/api_set/gem_parser.rb +21 -0
- package/lib/ruby/3.4.11/rubygems/resolver/api_set.rb +139 -0
- package/lib/ruby/3.4.11/rubygems/resolver/api_specification.rb +105 -0
- package/lib/ruby/3.4.11/rubygems/resolver/best_set.rb +49 -0
- package/lib/ruby/3.4.11/rubygems/resolver/composed_set.rb +65 -0
- package/lib/ruby/3.4.11/rubygems/resolver/conflict.rb +146 -0
- package/lib/ruby/3.4.11/rubygems/resolver/current_set.rb +12 -0
- package/lib/ruby/3.4.11/rubygems/resolver/dependency_request.rb +119 -0
- package/lib/ruby/3.4.11/rubygems/resolver/git_set.rb +120 -0
- package/lib/ruby/3.4.11/rubygems/resolver/git_specification.rb +57 -0
- package/lib/ruby/3.4.11/rubygems/resolver/index_set.rb +79 -0
- package/lib/ruby/3.4.11/rubygems/resolver/index_specification.rb +101 -0
- package/lib/ruby/3.4.11/rubygems/resolver/installed_specification.rb +57 -0
- package/lib/ruby/3.4.11/rubygems/resolver/installer_set.rb +271 -0
- package/lib/ruby/3.4.11/rubygems/resolver/local_specification.rb +40 -0
- package/lib/ruby/3.4.11/rubygems/resolver/lock_set.rb +81 -0
- package/lib/ruby/3.4.11/rubygems/resolver/lock_specification.rb +86 -0
- package/lib/ruby/3.4.11/rubygems/resolver/requirement_list.rb +82 -0
- package/lib/ruby/3.4.11/rubygems/resolver/set.rb +55 -0
- package/lib/ruby/3.4.11/rubygems/resolver/source_set.rb +47 -0
- package/lib/ruby/3.4.11/rubygems/resolver/spec_specification.rb +76 -0
- package/lib/ruby/3.4.11/rubygems/resolver/specification.rb +126 -0
- package/lib/ruby/3.4.11/rubygems/resolver/stats.rb +46 -0
- package/lib/ruby/3.4.11/rubygems/resolver/vendor_set.rb +86 -0
- package/lib/ruby/3.4.11/rubygems/resolver/vendor_specification.rb +23 -0
- package/lib/ruby/3.4.11/rubygems/resolver.rb +341 -0
- package/lib/ruby/3.4.11/rubygems/s3_uri_signer.rb +177 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/elements.rb +146 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/reader.rb +325 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/stream_printer.rb +31 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/to_ruby.rb +428 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/visitor.rb +74 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal.rb +74 -0
- package/lib/ruby/3.4.11/rubygems/safe_yaml.rb +45 -0
- package/lib/ruby/3.4.11/rubygems/security/policies.rb +114 -0
- package/lib/ruby/3.4.11/rubygems/security/policy.rb +288 -0
- package/lib/ruby/3.4.11/rubygems/security/signer.rb +212 -0
- package/lib/ruby/3.4.11/rubygems/security/trust_dir.rb +117 -0
- package/lib/ruby/3.4.11/rubygems/security.rb +615 -0
- package/lib/ruby/3.4.11/rubygems/security_option.rb +43 -0
- package/lib/ruby/3.4.11/rubygems/source/git.rb +244 -0
- package/lib/ruby/3.4.11/rubygems/source/installed.rb +39 -0
- package/lib/ruby/3.4.11/rubygems/source/local.rb +131 -0
- package/lib/ruby/3.4.11/rubygems/source/lock.rb +49 -0
- package/lib/ruby/3.4.11/rubygems/source/specific_file.rb +73 -0
- package/lib/ruby/3.4.11/rubygems/source/vendor.rb +24 -0
- package/lib/ruby/3.4.11/rubygems/source.rb +247 -0
- package/lib/ruby/3.4.11/rubygems/source_list.rb +146 -0
- package/lib/ruby/3.4.11/rubygems/spec_fetcher.rb +290 -0
- package/lib/ruby/3.4.11/rubygems/specification.rb +2666 -0
- package/lib/ruby/3.4.11/rubygems/specification_policy.rb +558 -0
- package/lib/ruby/3.4.11/rubygems/specification_record.rb +212 -0
- package/lib/ruby/3.4.11/rubygems/ssl_certs/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +21 -0
- package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +21 -0
- package/lib/ruby/3.4.11/rubygems/stub_specification.rb +235 -0
- package/lib/ruby/3.4.11/rubygems/target_rbconfig.rb +50 -0
- package/lib/ruby/3.4.11/rubygems/text.rb +85 -0
- package/lib/ruby/3.4.11/rubygems/uninstaller.rb +429 -0
- package/lib/ruby/3.4.11/rubygems/unknown_command_spell_checker.rb +21 -0
- package/lib/ruby/3.4.11/rubygems/update_suggestion.rb +56 -0
- package/lib/ruby/3.4.11/rubygems/uri.rb +126 -0
- package/lib/ruby/3.4.11/rubygems/uri_formatter.rb +47 -0
- package/lib/ruby/3.4.11/rubygems/user_interaction.rb +650 -0
- package/lib/ruby/3.4.11/rubygems/util/licenses.rb +834 -0
- package/lib/ruby/3.4.11/rubygems/util/list.rb +40 -0
- package/lib/ruby/3.4.11/rubygems/util.rb +118 -0
- package/lib/ruby/3.4.11/rubygems/validator.rb +144 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +88 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +164 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +255 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/errors.rb +149 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +112 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +67 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +839 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +46 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/state.rb +58 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo.rb +11 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/exceptions.rb +34 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/generic_request.rb +414 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/header.rb +981 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +17 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/request.rb +88 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/requests.rb +430 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/response.rb +738 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/responses.rb +1174 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/status.rb +84 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http.rb +2580 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/https.rb +23 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/lib/net/protocol.rb +544 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optionparser.rb +2 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/ac.rb +70 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/date.rb +18 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/kwargs.rb +27 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/shellwords.rb +7 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/time.rb +11 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/uri.rb +7 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/version.rb +80 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse.rb +2426 -0
- package/lib/ruby/3.4.11/rubygems/vendor/resolv/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/resolv/lib/resolv.rb +3455 -0
- package/lib/ruby/3.4.11/rubygems/vendor/securerandom/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/securerandom/lib/securerandom.rb +102 -0
- package/lib/ruby/3.4.11/rubygems/vendor/timeout/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/timeout/lib/timeout.rb +198 -0
- package/lib/ruby/3.4.11/rubygems/vendor/tsort/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/tsort/lib/tsort.rb +455 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/common.rb +880 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/file.rb +100 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ftp.rb +267 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/generic.rb +1592 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/http.rb +125 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/https.rb +23 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldap.rb +261 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldaps.rb +22 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/mailto.rb +293 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/version.rb +6 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ws.rb +83 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/wss.rb +23 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri.rb +104 -0
- package/lib/ruby/3.4.11/rubygems/vendored_molinillo.rb +3 -0
- package/lib/ruby/3.4.11/rubygems/vendored_net_http.rb +5 -0
- package/lib/ruby/3.4.11/rubygems/vendored_optparse.rb +3 -0
- package/lib/ruby/3.4.11/rubygems/vendored_securerandom.rb +3 -0
- package/lib/ruby/3.4.11/rubygems/vendored_timeout.rb +5 -0
- package/lib/ruby/3.4.11/rubygems/vendored_tsort.rb +3 -0
- package/lib/ruby/3.4.11/rubygems/version.rb +441 -0
- package/lib/ruby/3.4.11/rubygems/version_option.rb +80 -0
- package/lib/ruby/3.4.11/rubygems/yaml_serializer.rb +98 -0
- package/lib/ruby/3.4.11/rubygems.rb +1417 -0
- package/lib/ruby/3.4.11/securerandom.gemspec +34 -0
- package/lib/ruby/3.4.11/securerandom.rb +102 -0
- package/lib/ruby/3.4.11/set/set.gemspec +30 -0
- package/lib/ruby/3.4.11/set/sorted_set.rb +6 -0
- package/lib/ruby/3.4.11/set.rb +855 -0
- package/lib/ruby/3.4.11/shellwords.gemspec +31 -0
- package/lib/ruby/3.4.11/shellwords.rb +254 -0
- package/lib/ruby/3.4.11/singleton.gemspec +30 -0
- package/lib/ruby/3.4.11/singleton.rb +239 -0
- package/lib/ruby/3.4.11/syntax_suggest/api.rb +233 -0
- package/lib/ruby/3.4.11/syntax_suggest/around_block_scan.rb +232 -0
- package/lib/ruby/3.4.11/syntax_suggest/block_expand.rb +165 -0
- package/lib/ruby/3.4.11/syntax_suggest/capture/before_after_keyword_ends.rb +85 -0
- package/lib/ruby/3.4.11/syntax_suggest/capture/falling_indent_lines.rb +71 -0
- package/lib/ruby/3.4.11/syntax_suggest/capture_code_context.rb +245 -0
- package/lib/ruby/3.4.11/syntax_suggest/clean_document.rb +306 -0
- package/lib/ruby/3.4.11/syntax_suggest/cli.rb +130 -0
- package/lib/ruby/3.4.11/syntax_suggest/code_block.rb +100 -0
- package/lib/ruby/3.4.11/syntax_suggest/code_frontier.rb +178 -0
- package/lib/ruby/3.4.11/syntax_suggest/code_line.rb +243 -0
- package/lib/ruby/3.4.11/syntax_suggest/code_search.rb +139 -0
- package/lib/ruby/3.4.11/syntax_suggest/core_ext.rb +96 -0
- package/lib/ruby/3.4.11/syntax_suggest/display_code_with_line_numbers.rb +70 -0
- package/lib/ruby/3.4.11/syntax_suggest/display_invalid_blocks.rb +83 -0
- package/lib/ruby/3.4.11/syntax_suggest/explain_syntax.rb +117 -0
- package/lib/ruby/3.4.11/syntax_suggest/left_right_lex_count.rb +168 -0
- package/lib/ruby/3.4.11/syntax_suggest/lex_all.rb +74 -0
- package/lib/ruby/3.4.11/syntax_suggest/lex_value.rb +70 -0
- package/lib/ruby/3.4.11/syntax_suggest/mini_stringio.rb +30 -0
- package/lib/ruby/3.4.11/syntax_suggest/parse_blocks_from_indent_line.rb +60 -0
- package/lib/ruby/3.4.11/syntax_suggest/pathname_from_message.rb +59 -0
- package/lib/ruby/3.4.11/syntax_suggest/priority_engulf_queue.rb +63 -0
- package/lib/ruby/3.4.11/syntax_suggest/priority_queue.rb +105 -0
- package/lib/ruby/3.4.11/syntax_suggest/ripper_errors.rb +39 -0
- package/lib/ruby/3.4.11/syntax_suggest/scan_history.rb +134 -0
- package/lib/ruby/3.4.11/syntax_suggest/syntax_suggest.gemspec +32 -0
- package/lib/ruby/3.4.11/syntax_suggest/unvisited_lines.rb +36 -0
- package/lib/ruby/3.4.11/syntax_suggest/version.rb +5 -0
- package/lib/ruby/3.4.11/syntax_suggest.rb +3 -0
- package/lib/ruby/3.4.11/tempfile.gemspec +33 -0
- package/lib/ruby/3.4.11/tempfile.rb +640 -0
- package/lib/ruby/3.4.11/time.gemspec +35 -0
- package/lib/ruby/3.4.11/time.rb +731 -0
- package/lib/ruby/3.4.11/timeout.gemspec +33 -0
- package/lib/ruby/3.4.11/timeout.rb +200 -0
- package/lib/ruby/3.4.11/tmpdir.gemspec +30 -0
- package/lib/ruby/3.4.11/tmpdir.rb +189 -0
- package/lib/ruby/3.4.11/tsort.gemspec +29 -0
- package/lib/ruby/3.4.11/tsort.rb +455 -0
- package/lib/ruby/3.4.11/un.gemspec +31 -0
- package/lib/ruby/3.4.11/un.rb +441 -0
- package/lib/ruby/3.4.11/unicode_normalize/normalize.rb +181 -0
- package/lib/ruby/3.4.11/unicode_normalize/tables.rb +9259 -0
- package/lib/ruby/3.4.11/uri/common.rb +880 -0
- package/lib/ruby/3.4.11/uri/file.rb +100 -0
- package/lib/ruby/3.4.11/uri/ftp.rb +267 -0
- package/lib/ruby/3.4.11/uri/generic.rb +1592 -0
- package/lib/ruby/3.4.11/uri/http.rb +125 -0
- package/lib/ruby/3.4.11/uri/https.rb +23 -0
- package/lib/ruby/3.4.11/uri/ldap.rb +261 -0
- package/lib/ruby/3.4.11/uri/ldaps.rb +22 -0
- package/lib/ruby/3.4.11/uri/mailto.rb +293 -0
- package/lib/ruby/3.4.11/uri/rfc2396_parser.rb +546 -0
- package/lib/ruby/3.4.11/uri/rfc3986_parser.rb +206 -0
- package/lib/ruby/3.4.11/uri/uri.gemspec +42 -0
- package/lib/ruby/3.4.11/uri/version.rb +6 -0
- package/lib/ruby/3.4.11/uri/ws.rb +83 -0
- package/lib/ruby/3.4.11/uri/wss.rb +23 -0
- package/lib/ruby/3.4.11/uri.rb +104 -0
- package/lib/ruby/3.4.11/weakref.gemspec +34 -0
- package/lib/ruby/3.4.11/weakref.rb +58 -0
- package/lib/ruby/3.4.11/yaml/dbm.rb +295 -0
- package/lib/ruby/3.4.11/yaml/store.rb +98 -0
- package/lib/ruby/3.4.11/yaml/yaml.gemspec +30 -0
- package/lib/ruby/3.4.11/yaml.rb +70 -0
- package/lib/ruby/gems/3.4.0/cache/abbrev-0.1.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/base64-0.2.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
- package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
- package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
- package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
- package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
- package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
- package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
- package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
- package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
- package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
- package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
- package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
- package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
- package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
- package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
- package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
- package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
- package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
- package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
- package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
- package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
- package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
- package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
- package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
- package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
- package/package.json +17 -13
- package/lib/ruby/3.4.0/expect.rb +0 -71
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +0 -90
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +0 -89
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +0 -232
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +0 -80
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +0 -185
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +0 -74
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +0 -40
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +0 -21
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +0 -573
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +0 -10
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +0 -22
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +0 -996
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +0 -57
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +0 -23
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +0 -53
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +0 -77
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +0 -556
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +0 -263
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +0 -123
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +0 -592
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +0 -224
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +0 -336
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +0 -190
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +0 -37
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +0 -115
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +0 -13
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +0 -15
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +0 -50
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +0 -534
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +0 -1348
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +0 -1108
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +0 -2667
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +0 -150
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +0 -1457
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +0 -241
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +0 -9
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +0 -660
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +0 -5
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +0 -22
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +0 -38
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +0 -24
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -14
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +0 -283
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +0 -6
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +0 -22
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +0 -56
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +0 -5
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +0 -22
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +0 -1854
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +0 -56
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +0 -203
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +0 -415
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +0 -44
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +0 -311
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +0 -4062
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +0 -375
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +0 -150
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +0 -277
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +0 -220
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +0 -171
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +0 -786
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +0 -96
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +0 -415
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +0 -981
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +0 -1371
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +0 -2405
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +0 -630
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +0 -673
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +0 -760
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +0 -376
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +0 -82
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +0 -550
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +0 -2936
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +0 -331
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +0 -1151
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +0 -644
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +0 -184
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +0 -1861
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +0 -1413
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +0 -984
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +0 -70
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +0 -3402
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +0 -3054
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +0 -207
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +0 -635
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +0 -729
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +0 -386
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +0 -1704
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +0 -209
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +0 -818
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +0 -110
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +0 -166
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +0 -190
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +0 -868
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +0 -2296
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +0 -1065
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +0 -237
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +0 -1107
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +0 -531
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +0 -88
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +0 -1229
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +0 -1209
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +0 -293
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +0 -1928
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +0 -765
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +0 -38
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +0 -176
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +0 -15
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +0 -7
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +0 -49
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +0 -148
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +0 -1171
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +0 -15
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +0 -23
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +0 -294
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +0 -621
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +0 -100
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +0 -3583
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +0 -667
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +0 -475
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +0 -1765
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +0 -79
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +0 -1762
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +0 -477
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +0 -98
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +0 -329
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +0 -87
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +0 -106
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +0 -110
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +0 -192
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +0 -86
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +0 -57
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +0 -309
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +0 -125
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +0 -167
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +0 -147
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +0 -905
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +0 -7
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +0 -91
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +0 -82
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +0 -72
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +0 -7
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +0 -199
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +0 -400
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +0 -131
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +0 -8
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +0 -29
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +0 -29
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +0 -467
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +0 -39
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +0 -449
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +0 -225
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +0 -137
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +0 -67
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +0 -58
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +0 -83
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +0 -356
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +0 -1223
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +0 -38
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +0 -223
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +0 -81
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +0 -32
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +0 -14
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +0 -258
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +0 -81
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +0 -50
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +0 -38
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +0 -16
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +0 -395
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +0 -620
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +0 -254
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +0 -841
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +0 -125
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +0 -77
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +0 -818
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +0 -173
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +0 -155
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +0 -600
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +0 -18
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +0 -138
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +0 -241
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +0 -141
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +0 -125
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +0 -15
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +0 -23
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +0 -77
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +0 -140
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +0 -99
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +0 -840
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +0 -641
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +0 -279
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +0 -667
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +0 -127
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +0 -219
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +0 -91
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +0 -198
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +0 -83
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +0 -201
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +0 -80
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +0 -30
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +0 -212
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +0 -84
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +0 -50
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +0 -167
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +0 -433
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +0 -112
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +0 -100
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +0 -126
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +0 -109
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +0 -1557
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +0 -176
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +0 -136
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +0 -341
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +0 -143
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +0 -182
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +0 -189
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +0 -71
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +0 -419
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +0 -93
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +0 -163
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +0 -14
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +0 -26
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +0 -326
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +0 -87
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +0 -56
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +0 -266
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +0 -50
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +0 -36
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +0 -317
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +0 -163
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +0 -60
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +0 -102
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +0 -24
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +0 -82
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +0 -30
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +0 -27
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +0 -32
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +0 -44
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +0 -15
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +0 -21
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +0 -43
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +0 -87
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +0 -74
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +0 -66
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +0 -46
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +0 -214
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +0 -4
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +0 -26
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +0 -21
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +0 -267
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +0 -173
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +0 -165
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +0 -61
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +0 -277
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +0 -111
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +0 -65
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +0 -383
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +0 -110
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +0 -58
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +0 -7
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +0 -258
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +0 -84
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +0 -58
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +0 -146
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +0 -96
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +0 -27
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +0 -96
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +0 -75
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +0 -182
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +0 -21
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +0 -67
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +0 -85
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +0 -34
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +0 -35
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +0 -38
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +0 -41
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +0 -37
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +0 -52
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +0 -9
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +0 -82
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +0 -53
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +0 -98
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +0 -110
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +0 -79
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +0 -576
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +0 -154
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +0 -194
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +0 -136
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +0 -35
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +0 -9
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +0 -87
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +0 -51
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +0 -47
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +0 -127
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +0 -153
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +0 -793
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +0 -66
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +0 -26
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +0 -355
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +0 -452
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +0 -1629
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +0 -119
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +0 -1285
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +0 -263
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +0 -3776
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +0 -1585
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +0 -616
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +0 -26
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +0 -421
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +0 -184
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +0 -47
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +0 -96
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +0 -343
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +0 -577
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +0 -532
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +0 -865
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +0 -1734
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +0 -49
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +0 -268
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +0 -414
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +0 -428
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +0 -1914
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +0 -166
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +0 -45
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +0 -100
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +0 -796
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +0 -34
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +0 -42
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +0 -52
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +0 -590
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +0 -23
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +0 -102
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +0 -259
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +0 -25
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +0 -21
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +0 -64
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +0 -64
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +0 -46
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +0 -62
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +0 -53
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +0 -163
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +0 -129
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +0 -81
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +0 -18
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +0 -69
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +0 -12
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +0 -4
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +0 -115
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +0 -354
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +0 -104
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +0 -5552
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +0 -56
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +0 -55
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +0 -402
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +0 -487
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +0 -217
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +0 -4
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +0 -393
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +0 -147
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +0 -12113
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +0 -1725
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +0 -1406
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +0 -300
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +0 -383
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +0 -603
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +0 -12
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +0 -237
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +0 -402
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +0 -237
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +0 -51
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +0 -153
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +0 -117
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +0 -56
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +0 -391
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +0 -97
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +0 -1830
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +0 -1648
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +0 -62
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +0 -229
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +0 -131
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +0 -666
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +0 -590
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +0 -2295
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +0 -4157
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +0 -192
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +0 -79
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +0 -133
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +0 -169
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +0 -170
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +0 -567
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +0 -1627
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +0 -479
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +0 -432
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +0 -81
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +0 -69
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +0 -409
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +0 -582
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +0 -118
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +0 -1108
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +0 -104
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +0 -14
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +0 -230
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +0 -14
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +0 -189
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +0 -9
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +0 -1
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +0 -210
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +0 -12
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +0 -23
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +0 -12
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +0 -156
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +0 -293
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +0 -166
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +0 -180
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +0 -449
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +0 -200
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +0 -36
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +0 -27
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +0 -122
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +0 -5
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +0 -22
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +0 -41
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +0 -20
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -14
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -8
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +0 -209
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +0 -10
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
- package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +0 -50
- package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +0 -33
- package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +0 -43
- package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +0 -49
- package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +0 -26
|
@@ -1,1629 +0,0 @@
|
|
|
1
|
-
class BigDecimal < Numeric
|
|
2
|
-
# <!--
|
|
3
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
4
|
-
# - _load(p1)
|
|
5
|
-
# -->
|
|
6
|
-
# Internal method used to provide marshalling support. See the Marshal module.
|
|
7
|
-
#
|
|
8
|
-
def self._load: (String) -> BigDecimal
|
|
9
|
-
|
|
10
|
-
# <!--
|
|
11
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
12
|
-
# - BigDecimal.double_fig -> integer
|
|
13
|
-
# -->
|
|
14
|
-
# Returns the number of digits a Float object is allowed to have; the result is
|
|
15
|
-
# system-dependent:
|
|
16
|
-
#
|
|
17
|
-
# BigDecimal.double_fig # => 16
|
|
18
|
-
#
|
|
19
|
-
def self.double_fig: () -> Integer
|
|
20
|
-
|
|
21
|
-
# <!--
|
|
22
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
23
|
-
# - interpret_loosely(p1)
|
|
24
|
-
# -->
|
|
25
|
-
#
|
|
26
|
-
def self.interpret_loosely: (string) -> BigDecimal
|
|
27
|
-
|
|
28
|
-
# <!--
|
|
29
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
30
|
-
# - BigDecimal.limit(digits)
|
|
31
|
-
# -->
|
|
32
|
-
# Limit the number of significant digits in newly created BigDecimal numbers to
|
|
33
|
-
# the specified value. Rounding is performed as necessary, as specified by
|
|
34
|
-
# BigDecimal.mode.
|
|
35
|
-
#
|
|
36
|
-
# A limit of 0, the default, means no upper limit.
|
|
37
|
-
#
|
|
38
|
-
# The limit specified by this method takes less priority over any limit
|
|
39
|
-
# specified to instance methods such as ceil, floor, truncate, or round.
|
|
40
|
-
#
|
|
41
|
-
def self.limit: (?Integer? digits) -> Integer
|
|
42
|
-
|
|
43
|
-
# <!--
|
|
44
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
45
|
-
# - BigDecimal.mode(mode, setting = nil) -> integer
|
|
46
|
-
# -->
|
|
47
|
-
# Returns an integer representing the mode settings for exception handling and
|
|
48
|
-
# rounding.
|
|
49
|
-
#
|
|
50
|
-
# These modes control exception handling:
|
|
51
|
-
#
|
|
52
|
-
# * BigDecimal::EXCEPTION_NaN.
|
|
53
|
-
# * BigDecimal::EXCEPTION_INFINITY.
|
|
54
|
-
# * BigDecimal::EXCEPTION_UNDERFLOW.
|
|
55
|
-
# * BigDecimal::EXCEPTION_OVERFLOW.
|
|
56
|
-
# * BigDecimal::EXCEPTION_ZERODIVIDE.
|
|
57
|
-
# * BigDecimal::EXCEPTION_ALL.
|
|
58
|
-
#
|
|
59
|
-
# Values for `setting` for exception handling:
|
|
60
|
-
#
|
|
61
|
-
# * `true`: sets the given `mode` to `true`.
|
|
62
|
-
# * `false`: sets the given `mode` to `false`.
|
|
63
|
-
# * `nil`: does not modify the mode settings.
|
|
64
|
-
#
|
|
65
|
-
# You can use method BigDecimal.save_exception_mode to temporarily change, and
|
|
66
|
-
# then automatically restore, exception modes.
|
|
67
|
-
#
|
|
68
|
-
# For clarity, some examples below begin by setting all exception modes to
|
|
69
|
-
# `false`.
|
|
70
|
-
#
|
|
71
|
-
# This mode controls the way rounding is to be performed:
|
|
72
|
-
#
|
|
73
|
-
# * BigDecimal::ROUND_MODE
|
|
74
|
-
#
|
|
75
|
-
# You can use method BigDecimal.save_rounding_mode to temporarily change, and
|
|
76
|
-
# then automatically restore, the rounding mode.
|
|
77
|
-
#
|
|
78
|
-
# **NaNs**
|
|
79
|
-
#
|
|
80
|
-
# Mode BigDecimal::EXCEPTION_NaN controls behavior when a BigDecimal NaN is
|
|
81
|
-
# created.
|
|
82
|
-
#
|
|
83
|
-
# Settings:
|
|
84
|
-
#
|
|
85
|
-
# * `false` (default): Returns `BigDecimal('NaN')`.
|
|
86
|
-
# * `true`: Raises FloatDomainError.
|
|
87
|
-
#
|
|
88
|
-
# Examples:
|
|
89
|
-
#
|
|
90
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0
|
|
91
|
-
# BigDecimal('NaN') # => NaN
|
|
92
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_NaN, true) # => 2
|
|
93
|
-
# BigDecimal('NaN') # Raises FloatDomainError
|
|
94
|
-
#
|
|
95
|
-
# **Infinities**
|
|
96
|
-
#
|
|
97
|
-
# Mode BigDecimal::EXCEPTION_INFINITY controls behavior when a BigDecimal
|
|
98
|
-
# Infinity or -Infinity is created. Settings:
|
|
99
|
-
#
|
|
100
|
-
# * `false` (default): Returns `BigDecimal('Infinity')` or
|
|
101
|
-
# `BigDecimal('-Infinity')`.
|
|
102
|
-
# * `true`: Raises FloatDomainError.
|
|
103
|
-
#
|
|
104
|
-
# Examples:
|
|
105
|
-
#
|
|
106
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0
|
|
107
|
-
# BigDecimal('Infinity') # => Infinity
|
|
108
|
-
# BigDecimal('-Infinity') # => -Infinity
|
|
109
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_INFINITY, true) # => 1
|
|
110
|
-
# BigDecimal('Infinity') # Raises FloatDomainError
|
|
111
|
-
# BigDecimal('-Infinity') # Raises FloatDomainError
|
|
112
|
-
#
|
|
113
|
-
# **Underflow**
|
|
114
|
-
#
|
|
115
|
-
# Mode BigDecimal::EXCEPTION_UNDERFLOW controls behavior when a BigDecimal
|
|
116
|
-
# underflow occurs. Settings:
|
|
117
|
-
#
|
|
118
|
-
# * `false` (default): Returns `BigDecimal('0')` or `BigDecimal('-Infinity')`.
|
|
119
|
-
# * `true`: Raises FloatDomainError.
|
|
120
|
-
#
|
|
121
|
-
# Examples:
|
|
122
|
-
#
|
|
123
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0
|
|
124
|
-
# def flow_under
|
|
125
|
-
# x = BigDecimal('0.1')
|
|
126
|
-
# 100.times { x *= x }
|
|
127
|
-
# end
|
|
128
|
-
# flow_under # => 100
|
|
129
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_UNDERFLOW, true) # => 4
|
|
130
|
-
# flow_under # Raises FloatDomainError
|
|
131
|
-
#
|
|
132
|
-
# **Overflow**
|
|
133
|
-
#
|
|
134
|
-
# Mode BigDecimal::EXCEPTION_OVERFLOW controls behavior when a BigDecimal
|
|
135
|
-
# overflow occurs. Settings:
|
|
136
|
-
#
|
|
137
|
-
# * `false` (default): Returns `BigDecimal('Infinity')` or
|
|
138
|
-
# `BigDecimal('-Infinity')`.
|
|
139
|
-
# * `true`: Raises FloatDomainError.
|
|
140
|
-
#
|
|
141
|
-
# Examples:
|
|
142
|
-
#
|
|
143
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0
|
|
144
|
-
# def flow_over
|
|
145
|
-
# x = BigDecimal('10')
|
|
146
|
-
# 100.times { x *= x }
|
|
147
|
-
# end
|
|
148
|
-
# flow_over # => 100
|
|
149
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_OVERFLOW, true) # => 1
|
|
150
|
-
# flow_over # Raises FloatDomainError
|
|
151
|
-
#
|
|
152
|
-
# **Zero Division**
|
|
153
|
-
#
|
|
154
|
-
# Mode BigDecimal::EXCEPTION_ZERODIVIDE controls behavior when a zero-division
|
|
155
|
-
# occurs. Settings:
|
|
156
|
-
#
|
|
157
|
-
# * `false` (default): Returns `BigDecimal('Infinity')` or
|
|
158
|
-
# `BigDecimal('-Infinity')`.
|
|
159
|
-
# * `true`: Raises FloatDomainError.
|
|
160
|
-
#
|
|
161
|
-
# Examples:
|
|
162
|
-
#
|
|
163
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0
|
|
164
|
-
# one = BigDecimal('1')
|
|
165
|
-
# zero = BigDecimal('0')
|
|
166
|
-
# one / zero # => Infinity
|
|
167
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_ZERODIVIDE, true) # => 16
|
|
168
|
-
# one / zero # Raises FloatDomainError
|
|
169
|
-
#
|
|
170
|
-
# **All Exceptions**
|
|
171
|
-
#
|
|
172
|
-
# Mode BigDecimal::EXCEPTION_ALL controls all of the above:
|
|
173
|
-
#
|
|
174
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_ALL, false) # => 0
|
|
175
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_ALL, true) # => 23
|
|
176
|
-
#
|
|
177
|
-
# **Rounding**
|
|
178
|
-
#
|
|
179
|
-
# Mode BigDecimal::ROUND_MODE controls the way rounding is to be performed; its
|
|
180
|
-
# `setting` values are:
|
|
181
|
-
#
|
|
182
|
-
# * `ROUND_UP`: Round away from zero. Aliased as `:up`.
|
|
183
|
-
# * `ROUND_DOWN`: Round toward zero. Aliased as `:down` and `:truncate`.
|
|
184
|
-
# * `ROUND_HALF_UP`: Round toward the nearest neighbor; if the neighbors are
|
|
185
|
-
# equidistant, round away from zero. Aliased as `:half_up` and `:default`.
|
|
186
|
-
# * `ROUND_HALF_DOWN`: Round toward the nearest neighbor; if the neighbors are
|
|
187
|
-
# equidistant, round toward zero. Aliased as `:half_down`.
|
|
188
|
-
# * `ROUND_HALF_EVEN` (Banker's rounding): Round toward the nearest neighbor;
|
|
189
|
-
# if the neighbors are equidistant, round toward the even neighbor. Aliased
|
|
190
|
-
# as `:half_even` and `:banker`.
|
|
191
|
-
# * `ROUND_CEILING`: Round toward positive infinity. Aliased as `:ceiling` and
|
|
192
|
-
# `:ceil`.
|
|
193
|
-
# * `ROUND_FLOOR`: Round toward negative infinity. Aliased as `:floor:`.
|
|
194
|
-
#
|
|
195
|
-
def self.mode: (Integer mode, ?Integer? value) -> Integer?
|
|
196
|
-
|
|
197
|
-
# <!--
|
|
198
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
199
|
-
# - BigDecimal.save_exception_mode { ... }
|
|
200
|
-
# -->
|
|
201
|
-
# Execute the provided block, but preserve the exception mode
|
|
202
|
-
#
|
|
203
|
-
# BigDecimal.save_exception_mode do
|
|
204
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_OVERFLOW, false)
|
|
205
|
-
# BigDecimal.mode(BigDecimal::EXCEPTION_NaN, false)
|
|
206
|
-
#
|
|
207
|
-
# BigDecimal(BigDecimal('Infinity'))
|
|
208
|
-
# BigDecimal(BigDecimal('-Infinity'))
|
|
209
|
-
# BigDecimal(BigDecimal('NaN'))
|
|
210
|
-
# end
|
|
211
|
-
#
|
|
212
|
-
# For use with the BigDecimal::EXCEPTION_*
|
|
213
|
-
#
|
|
214
|
-
# See BigDecimal.mode
|
|
215
|
-
#
|
|
216
|
-
def self.save_exception_mode: () { (?nil) -> void } -> void
|
|
217
|
-
|
|
218
|
-
# <!--
|
|
219
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
220
|
-
# - BigDecimal.save_limit { ... }
|
|
221
|
-
# -->
|
|
222
|
-
# Execute the provided block, but preserve the precision limit
|
|
223
|
-
#
|
|
224
|
-
# BigDecimal.limit(100)
|
|
225
|
-
# puts BigDecimal.limit
|
|
226
|
-
# BigDecimal.save_limit do
|
|
227
|
-
# BigDecimal.limit(200)
|
|
228
|
-
# puts BigDecimal.limit
|
|
229
|
-
# end
|
|
230
|
-
# puts BigDecimal.limit
|
|
231
|
-
#
|
|
232
|
-
def self.save_limit: () { (?nil) -> void } -> void
|
|
233
|
-
|
|
234
|
-
# <!--
|
|
235
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
236
|
-
# - BigDecimal.save_rounding_mode { ... }
|
|
237
|
-
# -->
|
|
238
|
-
# Execute the provided block, but preserve the rounding mode
|
|
239
|
-
#
|
|
240
|
-
# BigDecimal.save_rounding_mode do
|
|
241
|
-
# BigDecimal.mode(BigDecimal::ROUND_MODE, :up)
|
|
242
|
-
# puts BigDecimal.mode(BigDecimal::ROUND_MODE)
|
|
243
|
-
# end
|
|
244
|
-
#
|
|
245
|
-
# For use with the BigDecimal::ROUND_*
|
|
246
|
-
#
|
|
247
|
-
# See BigDecimal.mode
|
|
248
|
-
#
|
|
249
|
-
def self.save_rounding_mode: () { (?nil) -> void } -> void
|
|
250
|
-
|
|
251
|
-
# <!--
|
|
252
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
253
|
-
# - a % b
|
|
254
|
-
# - a.modulo(b)
|
|
255
|
-
# -->
|
|
256
|
-
# Returns the modulus from dividing by b.
|
|
257
|
-
#
|
|
258
|
-
# See BigDecimal#divmod.
|
|
259
|
-
#
|
|
260
|
-
def %: (Numeric) -> BigDecimal
|
|
261
|
-
|
|
262
|
-
# <!--
|
|
263
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
264
|
-
# - *(p1)
|
|
265
|
-
# -->
|
|
266
|
-
#
|
|
267
|
-
def *: (Numeric) -> BigDecimal
|
|
268
|
-
|
|
269
|
-
# <!--
|
|
270
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
271
|
-
# - self ** other -> bigdecimal
|
|
272
|
-
# -->
|
|
273
|
-
# Returns the BigDecimal value of `self` raised to power `other`:
|
|
274
|
-
#
|
|
275
|
-
# b = BigDecimal('3.14')
|
|
276
|
-
# b ** 2 # => 0.98596e1
|
|
277
|
-
# b ** 2.0 # => 0.98596e1
|
|
278
|
-
# b ** Rational(2, 1) # => 0.98596e1
|
|
279
|
-
#
|
|
280
|
-
# Related: BigDecimal#power.
|
|
281
|
-
#
|
|
282
|
-
def **: (Numeric) -> BigDecimal
|
|
283
|
-
|
|
284
|
-
# <!--
|
|
285
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
286
|
-
# - self + value -> bigdecimal
|
|
287
|
-
# -->
|
|
288
|
-
# Returns the BigDecimal sum of `self` and `value`:
|
|
289
|
-
#
|
|
290
|
-
# b = BigDecimal('111111.111') # => 0.111111111e6
|
|
291
|
-
# b + 2 # => 0.111113111e6
|
|
292
|
-
# b + 2.0 # => 0.111113111e6
|
|
293
|
-
# b + Rational(2, 1) # => 0.111113111e6
|
|
294
|
-
# b + Complex(2, 0) # => (0.111113111e6+0i)
|
|
295
|
-
#
|
|
296
|
-
# See the [Note About
|
|
297
|
-
# Precision](BigDecimal.html#class-BigDecimal-label-A+Note+About+Precision).
|
|
298
|
-
#
|
|
299
|
-
def +: (Numeric) -> BigDecimal
|
|
300
|
-
|
|
301
|
-
# <!--
|
|
302
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
303
|
-
# - +big_decimal -> self
|
|
304
|
-
# -->
|
|
305
|
-
# Returns `self`:
|
|
306
|
-
#
|
|
307
|
-
# +BigDecimal(5) # => 0.5e1
|
|
308
|
-
# +BigDecimal(-5) # => -0.5e1
|
|
309
|
-
#
|
|
310
|
-
def +@: () -> BigDecimal
|
|
311
|
-
|
|
312
|
-
# <!--
|
|
313
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
314
|
-
# - self - value -> bigdecimal
|
|
315
|
-
# -->
|
|
316
|
-
# Returns the BigDecimal difference of `self` and `value`:
|
|
317
|
-
#
|
|
318
|
-
# b = BigDecimal('333333.333') # => 0.333333333e6
|
|
319
|
-
# b - 2 # => 0.333331333e6
|
|
320
|
-
# b - 2.0 # => 0.333331333e6
|
|
321
|
-
# b - Rational(2, 1) # => 0.333331333e6
|
|
322
|
-
# b - Complex(2, 0) # => (0.333331333e6+0i)
|
|
323
|
-
#
|
|
324
|
-
# See the [Note About
|
|
325
|
-
# Precision](BigDecimal.html#class-BigDecimal-label-A+Note+About+Precision).
|
|
326
|
-
#
|
|
327
|
-
def -: (Numeric) -> BigDecimal
|
|
328
|
-
|
|
329
|
-
# <!--
|
|
330
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
331
|
-
# - -self -> bigdecimal
|
|
332
|
-
# -->
|
|
333
|
-
# Returns the BigDecimal negation of self:
|
|
334
|
-
#
|
|
335
|
-
# b0 = BigDecimal('1.5')
|
|
336
|
-
# b1 = -b0 # => -0.15e1
|
|
337
|
-
# b2 = -b1 # => 0.15e1
|
|
338
|
-
#
|
|
339
|
-
def -@: () -> BigDecimal
|
|
340
|
-
|
|
341
|
-
# <!--
|
|
342
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
343
|
-
# - a / b -> bigdecimal
|
|
344
|
-
# -->
|
|
345
|
-
# Divide by the specified value.
|
|
346
|
-
#
|
|
347
|
-
# The result precision will be the precision of the larger operand, but its
|
|
348
|
-
# minimum is 2*Float::DIG.
|
|
349
|
-
#
|
|
350
|
-
# See BigDecimal#div. See BigDecimal#quo.
|
|
351
|
-
#
|
|
352
|
-
def /: (Numeric) -> BigDecimal
|
|
353
|
-
|
|
354
|
-
# <!--
|
|
355
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
356
|
-
# - self < other -> true or false
|
|
357
|
-
# -->
|
|
358
|
-
# Returns `true` if `self` is less than `other`, `false` otherwise:
|
|
359
|
-
#
|
|
360
|
-
# b = BigDecimal('1.5') # => 0.15e1
|
|
361
|
-
# b < 2 # => true
|
|
362
|
-
# b < 2.0 # => true
|
|
363
|
-
# b < Rational(2, 1) # => true
|
|
364
|
-
# b < 1.5 # => false
|
|
365
|
-
#
|
|
366
|
-
# Raises an exception if the comparison cannot be made.
|
|
367
|
-
#
|
|
368
|
-
def <: (Numeric) -> bool
|
|
369
|
-
|
|
370
|
-
# <!--
|
|
371
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
372
|
-
# - self <= other -> true or false
|
|
373
|
-
# -->
|
|
374
|
-
# Returns `true` if `self` is less or equal to than `other`, `false` otherwise:
|
|
375
|
-
#
|
|
376
|
-
# b = BigDecimal('1.5') # => 0.15e1
|
|
377
|
-
# b <= 2 # => true
|
|
378
|
-
# b <= 2.0 # => true
|
|
379
|
-
# b <= Rational(2, 1) # => true
|
|
380
|
-
# b <= 1.5 # => true
|
|
381
|
-
# b < 1 # => false
|
|
382
|
-
#
|
|
383
|
-
# Raises an exception if the comparison cannot be made.
|
|
384
|
-
#
|
|
385
|
-
def <=: (Numeric) -> bool
|
|
386
|
-
|
|
387
|
-
# <!--
|
|
388
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
389
|
-
# - <=>(p1)
|
|
390
|
-
# -->
|
|
391
|
-
# The comparison operator. a <=> b is 0 if a == b, 1 if a > b, -1 if a < b.
|
|
392
|
-
#
|
|
393
|
-
def <=>: (untyped) -> Integer?
|
|
394
|
-
|
|
395
|
-
# <!--
|
|
396
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
397
|
-
# - ==(p1)
|
|
398
|
-
# -->
|
|
399
|
-
# Tests for value equality; returns true if the values are equal.
|
|
400
|
-
#
|
|
401
|
-
# The == and === operators and the eql? method have the same implementation for
|
|
402
|
-
# BigDecimal.
|
|
403
|
-
#
|
|
404
|
-
# Values may be coerced to perform the comparison:
|
|
405
|
-
#
|
|
406
|
-
# BigDecimal('1.0') == 1.0 #=> true
|
|
407
|
-
#
|
|
408
|
-
def ==: (untyped) -> bool
|
|
409
|
-
|
|
410
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
411
|
-
# Tests for value equality; returns true if the values are equal.
|
|
412
|
-
#
|
|
413
|
-
# The == and === operators and the eql? method have the same implementation for
|
|
414
|
-
# BigDecimal.
|
|
415
|
-
#
|
|
416
|
-
# Values may be coerced to perform the comparison:
|
|
417
|
-
#
|
|
418
|
-
# BigDecimal('1.0') == 1.0 #=> true
|
|
419
|
-
#
|
|
420
|
-
def ===: (untyped) -> bool
|
|
421
|
-
|
|
422
|
-
# <!--
|
|
423
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
424
|
-
# - self > other -> true or false
|
|
425
|
-
# -->
|
|
426
|
-
# Returns `true` if `self` is greater than `other`, `false` otherwise:
|
|
427
|
-
#
|
|
428
|
-
# b = BigDecimal('1.5')
|
|
429
|
-
# b > 1 # => true
|
|
430
|
-
# b > 1.0 # => true
|
|
431
|
-
# b > Rational(1, 1) # => true
|
|
432
|
-
# b > 2 # => false
|
|
433
|
-
#
|
|
434
|
-
# Raises an exception if the comparison cannot be made.
|
|
435
|
-
#
|
|
436
|
-
def >: (Numeric) -> bool
|
|
437
|
-
|
|
438
|
-
# <!--
|
|
439
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
440
|
-
# - self >= other -> true or false
|
|
441
|
-
# -->
|
|
442
|
-
# Returns `true` if `self` is greater than or equal to `other`, `false`
|
|
443
|
-
# otherwise:
|
|
444
|
-
#
|
|
445
|
-
# b = BigDecimal('1.5')
|
|
446
|
-
# b >= 1 # => true
|
|
447
|
-
# b >= 1.0 # => true
|
|
448
|
-
# b >= Rational(1, 1) # => true
|
|
449
|
-
# b >= 1.5 # => true
|
|
450
|
-
# b > 2 # => false
|
|
451
|
-
#
|
|
452
|
-
# Raises an exception if the comparison cannot be made.
|
|
453
|
-
#
|
|
454
|
-
def >=: (Numeric) -> bool
|
|
455
|
-
|
|
456
|
-
# <!--
|
|
457
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
458
|
-
# - _dump -> string
|
|
459
|
-
# -->
|
|
460
|
-
# Returns a string representing the marshalling of `self`. See module Marshal.
|
|
461
|
-
#
|
|
462
|
-
# inf = BigDecimal('Infinity') # => Infinity
|
|
463
|
-
# dumped = inf._dump # => "9:Infinity"
|
|
464
|
-
# BigDecimal._load(dumped) # => Infinity
|
|
465
|
-
#
|
|
466
|
-
def _dump: (?untyped) -> String
|
|
467
|
-
|
|
468
|
-
# <!--
|
|
469
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
470
|
-
# - abs -> bigdecimal
|
|
471
|
-
# -->
|
|
472
|
-
# Returns the BigDecimal absolute value of `self`:
|
|
473
|
-
#
|
|
474
|
-
# BigDecimal('5').abs # => 0.5e1
|
|
475
|
-
# BigDecimal('-3').abs # => 0.3e1
|
|
476
|
-
#
|
|
477
|
-
def abs: () -> BigDecimal
|
|
478
|
-
|
|
479
|
-
# <!--
|
|
480
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
481
|
-
# - add(value, ndigits) -> new_bigdecimal
|
|
482
|
-
# -->
|
|
483
|
-
# Returns the BigDecimal sum of `self` and `value` with a precision of `ndigits`
|
|
484
|
-
# decimal digits.
|
|
485
|
-
#
|
|
486
|
-
# When `ndigits` is less than the number of significant digits in the sum, the
|
|
487
|
-
# sum is rounded to that number of digits, according to the current rounding
|
|
488
|
-
# mode; see BigDecimal.mode.
|
|
489
|
-
#
|
|
490
|
-
# Examples:
|
|
491
|
-
#
|
|
492
|
-
# # Set the rounding mode.
|
|
493
|
-
# BigDecimal.mode(BigDecimal::ROUND_MODE, :half_up)
|
|
494
|
-
# b = BigDecimal('111111.111')
|
|
495
|
-
# b.add(1, 0) # => 0.111112111e6
|
|
496
|
-
# b.add(1, 3) # => 0.111e6
|
|
497
|
-
# b.add(1, 6) # => 0.111112e6
|
|
498
|
-
# b.add(1, 15) # => 0.111112111e6
|
|
499
|
-
# b.add(1.0, 15) # => 0.111112111e6
|
|
500
|
-
# b.add(Rational(1, 1), 15) # => 0.111112111e6
|
|
501
|
-
#
|
|
502
|
-
def add: (Numeric value, Integer digits) -> BigDecimal
|
|
503
|
-
|
|
504
|
-
# <!--
|
|
505
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
506
|
-
# - ceil(n)
|
|
507
|
-
# -->
|
|
508
|
-
# Return the smallest integer greater than or equal to the value, as a
|
|
509
|
-
# BigDecimal.
|
|
510
|
-
#
|
|
511
|
-
# BigDecimal('3.14159').ceil #=> 4
|
|
512
|
-
# BigDecimal('-9.1').ceil #=> -9
|
|
513
|
-
#
|
|
514
|
-
# If n is specified and positive, the fractional part of the result has no more
|
|
515
|
-
# than that many digits.
|
|
516
|
-
#
|
|
517
|
-
# If n is specified and negative, at least that many digits to the left of the
|
|
518
|
-
# decimal point will be 0 in the result.
|
|
519
|
-
#
|
|
520
|
-
# BigDecimal('3.14159').ceil(3) #=> 3.142
|
|
521
|
-
# BigDecimal('13345.234').ceil(-2) #=> 13400.0
|
|
522
|
-
#
|
|
523
|
-
def ceil: () -> Integer
|
|
524
|
-
| (int n) -> BigDecimal
|
|
525
|
-
|
|
526
|
-
# <!--
|
|
527
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
528
|
-
# - clone()
|
|
529
|
-
# -->
|
|
530
|
-
#
|
|
531
|
-
def clone: () -> self
|
|
532
|
-
|
|
533
|
-
# <!--
|
|
534
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
535
|
-
# - coerce(p1)
|
|
536
|
-
# -->
|
|
537
|
-
# The coerce method provides support for Ruby type coercion. It is not enabled
|
|
538
|
-
# by default.
|
|
539
|
-
#
|
|
540
|
-
# This means that binary operations like + * / or - can often be performed on a
|
|
541
|
-
# BigDecimal and an object of another type, if the other object can be coerced
|
|
542
|
-
# into a BigDecimal value.
|
|
543
|
-
#
|
|
544
|
-
# e.g.
|
|
545
|
-
# a = BigDecimal("1.0")
|
|
546
|
-
# b = a / 2.0 #=> 0.5
|
|
547
|
-
#
|
|
548
|
-
# Note that coercing a String to a BigDecimal is not supported by default; it
|
|
549
|
-
# requires a special compile-time option when building Ruby.
|
|
550
|
-
#
|
|
551
|
-
def coerce: (Numeric) -> [ BigDecimal, BigDecimal ]
|
|
552
|
-
|
|
553
|
-
# <!--
|
|
554
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
555
|
-
# - div(value) -> integer
|
|
556
|
-
# - div(value, digits) -> bigdecimal or integer
|
|
557
|
-
# -->
|
|
558
|
-
# Divide by the specified value.
|
|
559
|
-
#
|
|
560
|
-
# digits
|
|
561
|
-
# : If specified and less than the number of significant digits of the result,
|
|
562
|
-
# the result is rounded to that number of digits, according to
|
|
563
|
-
# BigDecimal.mode.
|
|
564
|
-
#
|
|
565
|
-
# If digits is 0, the result is the same as for the / operator or #quo.
|
|
566
|
-
#
|
|
567
|
-
# If digits is not specified, the result is an integer, by analogy with
|
|
568
|
-
# Float#div; see also BigDecimal#divmod.
|
|
569
|
-
#
|
|
570
|
-
#
|
|
571
|
-
# See BigDecimal#/. See BigDecimal#quo.
|
|
572
|
-
#
|
|
573
|
-
# Examples:
|
|
574
|
-
#
|
|
575
|
-
# a = BigDecimal("4")
|
|
576
|
-
# b = BigDecimal("3")
|
|
577
|
-
#
|
|
578
|
-
# a.div(b, 3) # => 0.133e1
|
|
579
|
-
#
|
|
580
|
-
# a.div(b, 0) # => 0.1333333333333333333e1
|
|
581
|
-
# a / b # => 0.1333333333333333333e1
|
|
582
|
-
# a.quo(b) # => 0.1333333333333333333e1
|
|
583
|
-
#
|
|
584
|
-
# a.div(b) # => 1
|
|
585
|
-
#
|
|
586
|
-
def div: (Numeric value) -> Integer
|
|
587
|
-
| (Numeric value, int digits) -> BigDecimal
|
|
588
|
-
|
|
589
|
-
# <!--
|
|
590
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
591
|
-
# - divmod(value)
|
|
592
|
-
# -->
|
|
593
|
-
# Divides by the specified value, and returns the quotient and modulus as
|
|
594
|
-
# BigDecimal numbers. The quotient is rounded towards negative infinity.
|
|
595
|
-
#
|
|
596
|
-
# For example:
|
|
597
|
-
#
|
|
598
|
-
# require 'bigdecimal'
|
|
599
|
-
#
|
|
600
|
-
# a = BigDecimal("42")
|
|
601
|
-
# b = BigDecimal("9")
|
|
602
|
-
#
|
|
603
|
-
# q, m = a.divmod(b)
|
|
604
|
-
#
|
|
605
|
-
# c = q * b + m
|
|
606
|
-
#
|
|
607
|
-
# a == c #=> true
|
|
608
|
-
#
|
|
609
|
-
# The quotient q is (a/b).floor, and the modulus is the amount that must be
|
|
610
|
-
# added to q * b to get a.
|
|
611
|
-
#
|
|
612
|
-
def divmod: (Numeric) -> [ BigDecimal, BigDecimal ]
|
|
613
|
-
|
|
614
|
-
# <!--
|
|
615
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
616
|
-
# - dup()
|
|
617
|
-
# -->
|
|
618
|
-
#
|
|
619
|
-
def dup: () -> self
|
|
620
|
-
|
|
621
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
622
|
-
# Tests for value equality; returns true if the values are equal.
|
|
623
|
-
#
|
|
624
|
-
# The == and === operators and the eql? method have the same implementation for
|
|
625
|
-
# BigDecimal.
|
|
626
|
-
#
|
|
627
|
-
# Values may be coerced to perform the comparison:
|
|
628
|
-
#
|
|
629
|
-
# BigDecimal('1.0') == 1.0 #=> true
|
|
630
|
-
#
|
|
631
|
-
def eql?: (untyped) -> bool
|
|
632
|
-
|
|
633
|
-
# <!--
|
|
634
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
635
|
-
# - exponent()
|
|
636
|
-
# -->
|
|
637
|
-
# Returns the exponent of the BigDecimal number, as an Integer.
|
|
638
|
-
#
|
|
639
|
-
# If the number can be represented as 0.xxxxxx*10**n where xxxxxx is a string of
|
|
640
|
-
# digits with no leading zeros, then n is the exponent.
|
|
641
|
-
#
|
|
642
|
-
def exponent: () -> Integer
|
|
643
|
-
|
|
644
|
-
# <!--
|
|
645
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
646
|
-
# - finite?()
|
|
647
|
-
# -->
|
|
648
|
-
# Returns True if the value is finite (not NaN or infinite).
|
|
649
|
-
#
|
|
650
|
-
def finite?: () -> bool
|
|
651
|
-
|
|
652
|
-
# <!--
|
|
653
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
654
|
-
# - fix()
|
|
655
|
-
# -->
|
|
656
|
-
# Return the integer part of the number, as a BigDecimal.
|
|
657
|
-
#
|
|
658
|
-
def fix: () -> BigDecimal
|
|
659
|
-
|
|
660
|
-
# <!--
|
|
661
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
662
|
-
# - floor(n)
|
|
663
|
-
# -->
|
|
664
|
-
# Return the largest integer less than or equal to the value, as a BigDecimal.
|
|
665
|
-
#
|
|
666
|
-
# BigDecimal('3.14159').floor #=> 3
|
|
667
|
-
# BigDecimal('-9.1').floor #=> -10
|
|
668
|
-
#
|
|
669
|
-
# If n is specified and positive, the fractional part of the result has no more
|
|
670
|
-
# than that many digits.
|
|
671
|
-
#
|
|
672
|
-
# If n is specified and negative, at least that many digits to the left of the
|
|
673
|
-
# decimal point will be 0 in the result.
|
|
674
|
-
#
|
|
675
|
-
# BigDecimal('3.14159').floor(3) #=> 3.141
|
|
676
|
-
# BigDecimal('13345.234').floor(-2) #=> 13300.0
|
|
677
|
-
#
|
|
678
|
-
def floor: () -> Integer
|
|
679
|
-
| (int n) -> BigDecimal
|
|
680
|
-
|
|
681
|
-
# <!--
|
|
682
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
683
|
-
# - frac()
|
|
684
|
-
# -->
|
|
685
|
-
# Return the fractional part of the number, as a BigDecimal.
|
|
686
|
-
#
|
|
687
|
-
def frac: () -> BigDecimal
|
|
688
|
-
|
|
689
|
-
# <!--
|
|
690
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
691
|
-
# - hash -> integer
|
|
692
|
-
# -->
|
|
693
|
-
# Returns the integer hash value for `self`.
|
|
694
|
-
#
|
|
695
|
-
# Two instances of BigDecimal have the same hash value if and only if they have
|
|
696
|
-
# equal:
|
|
697
|
-
#
|
|
698
|
-
# * Sign.
|
|
699
|
-
# * Fractional part.
|
|
700
|
-
# * Exponent.
|
|
701
|
-
#
|
|
702
|
-
def hash: () -> Integer
|
|
703
|
-
|
|
704
|
-
# <!--
|
|
705
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
706
|
-
# - infinite?()
|
|
707
|
-
# -->
|
|
708
|
-
# Returns nil, -1, or +1 depending on whether the value is finite, -Infinity, or
|
|
709
|
-
# +Infinity.
|
|
710
|
-
#
|
|
711
|
-
def infinite?: () -> Integer?
|
|
712
|
-
|
|
713
|
-
# <!--
|
|
714
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
715
|
-
# - inspect()
|
|
716
|
-
# -->
|
|
717
|
-
# Returns a string representation of self.
|
|
718
|
-
#
|
|
719
|
-
# BigDecimal("1234.5678").inspect
|
|
720
|
-
# #=> "0.12345678e4"
|
|
721
|
-
#
|
|
722
|
-
def inspect: () -> String
|
|
723
|
-
|
|
724
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
725
|
-
# Returns the modulus from dividing by b.
|
|
726
|
-
#
|
|
727
|
-
# See BigDecimal#divmod.
|
|
728
|
-
#
|
|
729
|
-
def modulo: (Numeric b) -> BigDecimal
|
|
730
|
-
|
|
731
|
-
# <!--
|
|
732
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
733
|
-
# - mult(other, ndigits) -> bigdecimal
|
|
734
|
-
# -->
|
|
735
|
-
# Returns the BigDecimal product of `self` and `value` with a precision of
|
|
736
|
-
# `ndigits` decimal digits.
|
|
737
|
-
#
|
|
738
|
-
# When `ndigits` is less than the number of significant digits in the sum, the
|
|
739
|
-
# sum is rounded to that number of digits, according to the current rounding
|
|
740
|
-
# mode; see BigDecimal.mode.
|
|
741
|
-
#
|
|
742
|
-
# Examples:
|
|
743
|
-
#
|
|
744
|
-
# # Set the rounding mode.
|
|
745
|
-
# BigDecimal.mode(BigDecimal::ROUND_MODE, :half_up)
|
|
746
|
-
# b = BigDecimal('555555.555')
|
|
747
|
-
# b.mult(3, 0) # => 0.1666666665e7
|
|
748
|
-
# b.mult(3, 3) # => 0.167e7
|
|
749
|
-
# b.mult(3, 6) # => 0.166667e7
|
|
750
|
-
# b.mult(3, 15) # => 0.1666666665e7
|
|
751
|
-
# b.mult(3.0, 0) # => 0.1666666665e7
|
|
752
|
-
# b.mult(Rational(3, 1), 0) # => 0.1666666665e7
|
|
753
|
-
# b.mult(Complex(3, 0), 0) # => (0.1666666665e7+0.0i)
|
|
754
|
-
#
|
|
755
|
-
def mult: (Numeric value, int digits) -> BigDecimal
|
|
756
|
-
|
|
757
|
-
# <!--
|
|
758
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
759
|
-
# - nan?()
|
|
760
|
-
# -->
|
|
761
|
-
# Returns True if the value is Not a Number.
|
|
762
|
-
#
|
|
763
|
-
def nan?: () -> bool
|
|
764
|
-
|
|
765
|
-
# <!--
|
|
766
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
767
|
-
# - nonzero?()
|
|
768
|
-
# -->
|
|
769
|
-
# Returns self if the value is non-zero, nil otherwise.
|
|
770
|
-
#
|
|
771
|
-
def nonzero?: () -> self?
|
|
772
|
-
|
|
773
|
-
# <!--
|
|
774
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
775
|
-
# - power(n)
|
|
776
|
-
# - power(n, prec)
|
|
777
|
-
# -->
|
|
778
|
-
# Returns the value raised to the power of n.
|
|
779
|
-
#
|
|
780
|
-
# Note that n must be an Integer.
|
|
781
|
-
#
|
|
782
|
-
# Also available as the operator **.
|
|
783
|
-
#
|
|
784
|
-
def power: (Numeric n, int prec) -> BigDecimal
|
|
785
|
-
|
|
786
|
-
# <!--
|
|
787
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
788
|
-
# - precs -> array
|
|
789
|
-
# -->
|
|
790
|
-
# Returns an Array of two Integer values that represent platform-dependent
|
|
791
|
-
# internal storage properties.
|
|
792
|
-
#
|
|
793
|
-
# This method is deprecated and will be removed in the future. Instead, use
|
|
794
|
-
# BigDecimal#n_significant_digits for obtaining the number of significant digits
|
|
795
|
-
# in scientific notation, and BigDecimal#precision for obtaining the number of
|
|
796
|
-
# digits in decimal notation.
|
|
797
|
-
#
|
|
798
|
-
def precs: () -> [ Integer, Integer ]
|
|
799
|
-
|
|
800
|
-
# <!--
|
|
801
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
802
|
-
# - quo(value) -> bigdecimal
|
|
803
|
-
# - quo(value, digits) -> bigdecimal
|
|
804
|
-
# -->
|
|
805
|
-
# Divide by the specified value.
|
|
806
|
-
#
|
|
807
|
-
# digits
|
|
808
|
-
# : If specified and less than the number of significant digits of the result,
|
|
809
|
-
# the result is rounded to the given number of digits, according to the
|
|
810
|
-
# rounding mode indicated by BigDecimal.mode.
|
|
811
|
-
#
|
|
812
|
-
# If digits is 0 or omitted, the result is the same as for the / operator.
|
|
813
|
-
#
|
|
814
|
-
#
|
|
815
|
-
# See BigDecimal#/. See BigDecimal#div.
|
|
816
|
-
#
|
|
817
|
-
def quo: (Numeric) -> BigDecimal
|
|
818
|
-
|
|
819
|
-
# <!--
|
|
820
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
821
|
-
# - remainder(value)
|
|
822
|
-
# -->
|
|
823
|
-
# Returns the remainder from dividing by the value.
|
|
824
|
-
#
|
|
825
|
-
# x.remainder(y) means x-y*(x/y).truncate
|
|
826
|
-
#
|
|
827
|
-
def remainder: (Numeric) -> BigDecimal
|
|
828
|
-
|
|
829
|
-
# <!--
|
|
830
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
831
|
-
# - round(n, mode)
|
|
832
|
-
# -->
|
|
833
|
-
# Round to the nearest integer (by default), returning the result as a
|
|
834
|
-
# BigDecimal if n is specified, or as an Integer if it isn't.
|
|
835
|
-
#
|
|
836
|
-
# BigDecimal('3.14159').round #=> 3
|
|
837
|
-
# BigDecimal('8.7').round #=> 9
|
|
838
|
-
# BigDecimal('-9.9').round #=> -10
|
|
839
|
-
#
|
|
840
|
-
# BigDecimal('3.14159').round(2).class.name #=> "BigDecimal"
|
|
841
|
-
# BigDecimal('3.14159').round.class.name #=> "Integer"
|
|
842
|
-
#
|
|
843
|
-
# If n is specified and positive, the fractional part of the result has no more
|
|
844
|
-
# than that many digits.
|
|
845
|
-
#
|
|
846
|
-
# If n is specified and negative, at least that many digits to the left of the
|
|
847
|
-
# decimal point will be 0 in the result, and return value will be an Integer.
|
|
848
|
-
#
|
|
849
|
-
# BigDecimal('3.14159').round(3) #=> 3.142
|
|
850
|
-
# BigDecimal('13345.234').round(-2) #=> 13300
|
|
851
|
-
#
|
|
852
|
-
# The value of the optional mode argument can be used to determine how rounding
|
|
853
|
-
# is performed; see BigDecimal.mode.
|
|
854
|
-
#
|
|
855
|
-
def round: () -> Integer
|
|
856
|
-
| (Numeric n, ?Integer mode) -> BigDecimal
|
|
857
|
-
|
|
858
|
-
# <!--
|
|
859
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
860
|
-
# - sign()
|
|
861
|
-
# -->
|
|
862
|
-
# Returns the sign of the value.
|
|
863
|
-
#
|
|
864
|
-
# Returns a positive value if > 0, a negative value if < 0. It behaves the same
|
|
865
|
-
# with zeros - it returns a positive value for a positive zero (BigDecimal('0'))
|
|
866
|
-
# and a negative value for a negative zero (BigDecimal('-0')).
|
|
867
|
-
#
|
|
868
|
-
# The specific value returned indicates the type and sign of the BigDecimal, as
|
|
869
|
-
# follows:
|
|
870
|
-
#
|
|
871
|
-
# BigDecimal::SIGN_NaN
|
|
872
|
-
# : value is Not a Number
|
|
873
|
-
#
|
|
874
|
-
# BigDecimal::SIGN_POSITIVE_ZERO
|
|
875
|
-
# : value is +0
|
|
876
|
-
#
|
|
877
|
-
# BigDecimal::SIGN_NEGATIVE_ZERO
|
|
878
|
-
# : value is -0
|
|
879
|
-
#
|
|
880
|
-
# BigDecimal::SIGN_POSITIVE_INFINITE
|
|
881
|
-
# : value is +Infinity
|
|
882
|
-
#
|
|
883
|
-
# BigDecimal::SIGN_NEGATIVE_INFINITE
|
|
884
|
-
# : value is -Infinity
|
|
885
|
-
#
|
|
886
|
-
# BigDecimal::SIGN_POSITIVE_FINITE
|
|
887
|
-
# : value is positive
|
|
888
|
-
#
|
|
889
|
-
# BigDecimal::SIGN_NEGATIVE_FINITE
|
|
890
|
-
# : value is negative
|
|
891
|
-
#
|
|
892
|
-
def sign: () -> Integer
|
|
893
|
-
|
|
894
|
-
# <!--
|
|
895
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
896
|
-
# - split()
|
|
897
|
-
# -->
|
|
898
|
-
# Splits a BigDecimal number into four parts, returned as an array of values.
|
|
899
|
-
#
|
|
900
|
-
# The first value represents the sign of the BigDecimal, and is -1 or 1, or 0 if
|
|
901
|
-
# the BigDecimal is Not a Number.
|
|
902
|
-
#
|
|
903
|
-
# The second value is a string representing the significant digits of the
|
|
904
|
-
# BigDecimal, with no leading zeros.
|
|
905
|
-
#
|
|
906
|
-
# The third value is the base used for arithmetic (currently always 10) as an
|
|
907
|
-
# Integer.
|
|
908
|
-
#
|
|
909
|
-
# The fourth value is an Integer exponent.
|
|
910
|
-
#
|
|
911
|
-
# If the BigDecimal can be represented as 0.xxxxxx*10**n, then xxxxxx is the
|
|
912
|
-
# string of significant digits with no leading zeros, and n is the exponent.
|
|
913
|
-
#
|
|
914
|
-
# From these values, you can translate a BigDecimal to a float as follows:
|
|
915
|
-
#
|
|
916
|
-
# sign, significant_digits, base, exponent = a.split
|
|
917
|
-
# f = sign * "0.#{significant_digits}".to_f * (base ** exponent)
|
|
918
|
-
#
|
|
919
|
-
# (Note that the to_f method is provided as a more convenient way to translate a
|
|
920
|
-
# BigDecimal to a Float.)
|
|
921
|
-
#
|
|
922
|
-
def split: () -> [ Integer, String, Integer, Integer ]
|
|
923
|
-
|
|
924
|
-
# <!--
|
|
925
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
926
|
-
# - sqrt(n)
|
|
927
|
-
# -->
|
|
928
|
-
# Returns the square root of the value.
|
|
929
|
-
#
|
|
930
|
-
# Result has at least n significant digits.
|
|
931
|
-
#
|
|
932
|
-
def sqrt: (int n) -> BigDecimal
|
|
933
|
-
|
|
934
|
-
# <!--
|
|
935
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
936
|
-
# - sub(value, digits) -> bigdecimal
|
|
937
|
-
# -->
|
|
938
|
-
# Subtract the specified value.
|
|
939
|
-
#
|
|
940
|
-
# e.g.
|
|
941
|
-
# c = a.sub(b,n)
|
|
942
|
-
#
|
|
943
|
-
# digits
|
|
944
|
-
# : If specified and less than the number of significant digits of the result,
|
|
945
|
-
# the result is rounded to that number of digits, according to
|
|
946
|
-
# BigDecimal.mode.
|
|
947
|
-
#
|
|
948
|
-
def sub: (Numeric value, int digits) -> BigDecimal
|
|
949
|
-
|
|
950
|
-
# <!--
|
|
951
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
952
|
-
# - to_f()
|
|
953
|
-
# -->
|
|
954
|
-
# Returns a new Float object having approximately the same value as the
|
|
955
|
-
# BigDecimal number. Normal accuracy limits and built-in errors of binary Float
|
|
956
|
-
# arithmetic apply.
|
|
957
|
-
#
|
|
958
|
-
def to_f: () -> Float
|
|
959
|
-
|
|
960
|
-
# <!--
|
|
961
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
962
|
-
# - to_i()
|
|
963
|
-
# -->
|
|
964
|
-
# Returns the value as an Integer.
|
|
965
|
-
#
|
|
966
|
-
# If the BigDecimal is infinity or NaN, raises FloatDomainError.
|
|
967
|
-
#
|
|
968
|
-
def to_i: () -> Integer
|
|
969
|
-
|
|
970
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
971
|
-
# Returns the value as an Integer.
|
|
972
|
-
#
|
|
973
|
-
# If the BigDecimal is infinity or NaN, raises FloatDomainError.
|
|
974
|
-
#
|
|
975
|
-
def to_int: () -> Integer
|
|
976
|
-
|
|
977
|
-
# <!--
|
|
978
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
979
|
-
# - to_r()
|
|
980
|
-
# -->
|
|
981
|
-
# Converts a BigDecimal to a Rational.
|
|
982
|
-
#
|
|
983
|
-
def to_r: () -> Rational
|
|
984
|
-
|
|
985
|
-
# <!--
|
|
986
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
987
|
-
# - to_s(s)
|
|
988
|
-
# -->
|
|
989
|
-
# Converts the value to a string.
|
|
990
|
-
#
|
|
991
|
-
# The default format looks like 0.xxxxEnn.
|
|
992
|
-
#
|
|
993
|
-
# The optional parameter s consists of either an integer; or an optional '+' or
|
|
994
|
-
# ' ', followed by an optional number, followed by an optional 'E' or 'F'.
|
|
995
|
-
#
|
|
996
|
-
# If there is a '+' at the start of s, positive values are returned with a
|
|
997
|
-
# leading '+'.
|
|
998
|
-
#
|
|
999
|
-
# A space at the start of s returns positive values with a leading space.
|
|
1000
|
-
#
|
|
1001
|
-
# If s contains a number, a space is inserted after each group of that many
|
|
1002
|
-
# digits, starting from '.' and counting outwards.
|
|
1003
|
-
#
|
|
1004
|
-
# If s ends with an 'E', engineering notation (0.xxxxEnn) is used.
|
|
1005
|
-
#
|
|
1006
|
-
# If s ends with an 'F', conventional floating point notation is used.
|
|
1007
|
-
#
|
|
1008
|
-
# Examples:
|
|
1009
|
-
#
|
|
1010
|
-
# BigDecimal('-1234567890123.45678901234567890').to_s('5F')
|
|
1011
|
-
# #=> '-123 45678 90123.45678 90123 45678 9'
|
|
1012
|
-
#
|
|
1013
|
-
# BigDecimal('1234567890123.45678901234567890').to_s('+8F')
|
|
1014
|
-
# #=> '+12345 67890123.45678901 23456789'
|
|
1015
|
-
#
|
|
1016
|
-
# BigDecimal('1234567890123.45678901234567890').to_s(' F')
|
|
1017
|
-
# #=> ' 1234567890123.4567890123456789'
|
|
1018
|
-
#
|
|
1019
|
-
def to_s: (?String | int s) -> String
|
|
1020
|
-
|
|
1021
|
-
# <!--
|
|
1022
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
1023
|
-
# - truncate(n)
|
|
1024
|
-
# -->
|
|
1025
|
-
# Truncate to the nearest integer (by default), returning the result as a
|
|
1026
|
-
# BigDecimal.
|
|
1027
|
-
#
|
|
1028
|
-
# BigDecimal('3.14159').truncate #=> 3
|
|
1029
|
-
# BigDecimal('8.7').truncate #=> 8
|
|
1030
|
-
# BigDecimal('-9.9').truncate #=> -9
|
|
1031
|
-
#
|
|
1032
|
-
# If n is specified and positive, the fractional part of the result has no more
|
|
1033
|
-
# than that many digits.
|
|
1034
|
-
#
|
|
1035
|
-
# If n is specified and negative, at least that many digits to the left of the
|
|
1036
|
-
# decimal point will be 0 in the result.
|
|
1037
|
-
#
|
|
1038
|
-
# BigDecimal('3.14159').truncate(3) #=> 3.141
|
|
1039
|
-
# BigDecimal('13345.234').truncate(-2) #=> 13300.0
|
|
1040
|
-
#
|
|
1041
|
-
def truncate: () -> Integer
|
|
1042
|
-
| (int n) -> BigDecimal
|
|
1043
|
-
|
|
1044
|
-
# <!--
|
|
1045
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
1046
|
-
# - zero?()
|
|
1047
|
-
# -->
|
|
1048
|
-
# Returns True if the value is zero.
|
|
1049
|
-
#
|
|
1050
|
-
def zero?: () -> bool
|
|
1051
|
-
|
|
1052
|
-
# <!--
|
|
1053
|
-
# rdoc-file=ext/bigdecimal/lib/bigdecimal/util.rb
|
|
1054
|
-
# - a.to_d -> bigdecimal
|
|
1055
|
-
# -->
|
|
1056
|
-
# Returns self.
|
|
1057
|
-
#
|
|
1058
|
-
# require 'bigdecimal/util'
|
|
1059
|
-
#
|
|
1060
|
-
# d = BigDecimal("3.14")
|
|
1061
|
-
# d.to_d # => 0.314e1
|
|
1062
|
-
#
|
|
1063
|
-
def to_d: () -> BigDecimal
|
|
1064
|
-
|
|
1065
|
-
private
|
|
1066
|
-
|
|
1067
|
-
def initialize_copy: (self) -> self
|
|
1068
|
-
end
|
|
1069
|
-
|
|
1070
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1071
|
-
# Base value used in internal calculations. On a 32 bit system, BASE is 10000,
|
|
1072
|
-
# indicating that calculation is done in groups of 4 digits. (If it were larger,
|
|
1073
|
-
# BASE**2 wouldn't fit in 32 bits, so you couldn't guarantee that two groups
|
|
1074
|
-
# could always be multiplied together without overflow.)
|
|
1075
|
-
#
|
|
1076
|
-
BigDecimal::BASE: Integer
|
|
1077
|
-
|
|
1078
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1079
|
-
# Determines whether overflow, underflow or zero divide result in an exception
|
|
1080
|
-
# being thrown. See BigDecimal.mode.
|
|
1081
|
-
#
|
|
1082
|
-
BigDecimal::EXCEPTION_ALL: Integer
|
|
1083
|
-
|
|
1084
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1085
|
-
# Determines what happens when the result of a computation is infinity. See
|
|
1086
|
-
# BigDecimal.mode.
|
|
1087
|
-
#
|
|
1088
|
-
BigDecimal::EXCEPTION_INFINITY: Integer
|
|
1089
|
-
|
|
1090
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1091
|
-
# Determines what happens when the result of a computation is not a number
|
|
1092
|
-
# (NaN). See BigDecimal.mode.
|
|
1093
|
-
#
|
|
1094
|
-
BigDecimal::EXCEPTION_NaN: Integer
|
|
1095
|
-
|
|
1096
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1097
|
-
# Determines what happens when the result of a computation is an overflow (a
|
|
1098
|
-
# result too large to be represented). See BigDecimal.mode.
|
|
1099
|
-
#
|
|
1100
|
-
BigDecimal::EXCEPTION_OVERFLOW: Integer
|
|
1101
|
-
|
|
1102
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1103
|
-
# Determines what happens when the result of a computation is an underflow (a
|
|
1104
|
-
# result too small to be represented). See BigDecimal.mode.
|
|
1105
|
-
#
|
|
1106
|
-
BigDecimal::EXCEPTION_UNDERFLOW: Integer
|
|
1107
|
-
|
|
1108
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1109
|
-
# Determines what happens when a division by zero is performed. See
|
|
1110
|
-
# BigDecimal.mode.
|
|
1111
|
-
#
|
|
1112
|
-
BigDecimal::EXCEPTION_ZERODIVIDE: Integer
|
|
1113
|
-
|
|
1114
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1115
|
-
# Special value constants
|
|
1116
|
-
#
|
|
1117
|
-
BigDecimal::INFINITY: BigDecimal
|
|
1118
|
-
|
|
1119
|
-
BigDecimal::NAN: BigDecimal
|
|
1120
|
-
|
|
1121
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1122
|
-
# Round towards +Infinity. See BigDecimal.mode.
|
|
1123
|
-
#
|
|
1124
|
-
BigDecimal::ROUND_CEILING: Integer
|
|
1125
|
-
|
|
1126
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1127
|
-
# Indicates that values should be rounded towards zero. See BigDecimal.mode.
|
|
1128
|
-
#
|
|
1129
|
-
BigDecimal::ROUND_DOWN: Integer
|
|
1130
|
-
|
|
1131
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1132
|
-
# Round towards -Infinity. See BigDecimal.mode.
|
|
1133
|
-
#
|
|
1134
|
-
BigDecimal::ROUND_FLOOR: Integer
|
|
1135
|
-
|
|
1136
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1137
|
-
# Indicates that digits >= 6 should be rounded up, others rounded down. See
|
|
1138
|
-
# BigDecimal.mode.
|
|
1139
|
-
#
|
|
1140
|
-
BigDecimal::ROUND_HALF_DOWN: Integer
|
|
1141
|
-
|
|
1142
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1143
|
-
# Round towards the even neighbor. See BigDecimal.mode.
|
|
1144
|
-
#
|
|
1145
|
-
BigDecimal::ROUND_HALF_EVEN: Integer
|
|
1146
|
-
|
|
1147
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1148
|
-
# Indicates that digits >= 5 should be rounded up, others rounded down. See
|
|
1149
|
-
# BigDecimal.mode.
|
|
1150
|
-
#
|
|
1151
|
-
BigDecimal::ROUND_HALF_UP: Integer
|
|
1152
|
-
|
|
1153
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1154
|
-
# Determines what happens when a result must be rounded in order to fit in the
|
|
1155
|
-
# appropriate number of significant digits. See BigDecimal.mode.
|
|
1156
|
-
#
|
|
1157
|
-
BigDecimal::ROUND_MODE: Integer
|
|
1158
|
-
|
|
1159
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1160
|
-
# Indicates that values should be rounded away from zero. See BigDecimal.mode.
|
|
1161
|
-
#
|
|
1162
|
-
BigDecimal::ROUND_UP: Integer
|
|
1163
|
-
|
|
1164
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1165
|
-
# Indicates that a value is negative and finite. See BigDecimal.sign.
|
|
1166
|
-
#
|
|
1167
|
-
BigDecimal::SIGN_NEGATIVE_FINITE: Integer
|
|
1168
|
-
|
|
1169
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1170
|
-
# Indicates that a value is negative and infinite. See BigDecimal.sign.
|
|
1171
|
-
#
|
|
1172
|
-
BigDecimal::SIGN_NEGATIVE_INFINITE: Integer
|
|
1173
|
-
|
|
1174
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1175
|
-
# Indicates that a value is -0. See BigDecimal.sign.
|
|
1176
|
-
#
|
|
1177
|
-
BigDecimal::SIGN_NEGATIVE_ZERO: Integer
|
|
1178
|
-
|
|
1179
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1180
|
-
# Indicates that a value is not a number. See BigDecimal.sign.
|
|
1181
|
-
#
|
|
1182
|
-
BigDecimal::SIGN_NaN: Integer
|
|
1183
|
-
|
|
1184
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1185
|
-
# Indicates that a value is positive and finite. See BigDecimal.sign.
|
|
1186
|
-
#
|
|
1187
|
-
BigDecimal::SIGN_POSITIVE_FINITE: Integer
|
|
1188
|
-
|
|
1189
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1190
|
-
# Indicates that a value is positive and infinite. See BigDecimal.sign.
|
|
1191
|
-
#
|
|
1192
|
-
BigDecimal::SIGN_POSITIVE_INFINITE: Integer
|
|
1193
|
-
|
|
1194
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1195
|
-
# Indicates that a value is +0. See BigDecimal.sign.
|
|
1196
|
-
#
|
|
1197
|
-
BigDecimal::SIGN_POSITIVE_ZERO: Integer
|
|
1198
|
-
|
|
1199
|
-
# <!-- rdoc-file=ext/bigdecimal/bigdecimal.c -->
|
|
1200
|
-
# The version of bigdecimal library
|
|
1201
|
-
#
|
|
1202
|
-
BigDecimal::VERSION: String
|
|
1203
|
-
|
|
1204
|
-
%a{annotate:rdoc:skip}
|
|
1205
|
-
module Kernel
|
|
1206
|
-
private
|
|
1207
|
-
|
|
1208
|
-
# <!--
|
|
1209
|
-
# rdoc-file=ext/bigdecimal/bigdecimal.c
|
|
1210
|
-
# - BigDecimal(value, exception: true) -> bigdecimal
|
|
1211
|
-
# - BigDecimal(value, ndigits, exception: true) -> bigdecimal
|
|
1212
|
-
# -->
|
|
1213
|
-
# Returns the BigDecimal converted from `value` with a precision of `ndigits`
|
|
1214
|
-
# decimal digits.
|
|
1215
|
-
#
|
|
1216
|
-
# When `ndigits` is less than the number of significant digits in the value, the
|
|
1217
|
-
# result is rounded to that number of digits, according to the current rounding
|
|
1218
|
-
# mode; see BigDecimal.mode.
|
|
1219
|
-
#
|
|
1220
|
-
# When `ndigits` is 0, the number of digits to correctly represent a float
|
|
1221
|
-
# number is determined automatically.
|
|
1222
|
-
#
|
|
1223
|
-
# Returns `value` converted to a BigDecimal, depending on the type of `value`:
|
|
1224
|
-
#
|
|
1225
|
-
# * Integer, Float, Rational, Complex, or BigDecimal: converted directly:
|
|
1226
|
-
#
|
|
1227
|
-
# # Integer, Complex, or BigDecimal value does not require ndigits; ignored if given.
|
|
1228
|
-
# BigDecimal(2) # => 0.2e1
|
|
1229
|
-
# BigDecimal(Complex(2, 0)) # => 0.2e1
|
|
1230
|
-
# BigDecimal(BigDecimal(2)) # => 0.2e1
|
|
1231
|
-
# # Float or Rational value requires ndigits.
|
|
1232
|
-
# BigDecimal(2.0, 0) # => 0.2e1
|
|
1233
|
-
# BigDecimal(Rational(2, 1), 0) # => 0.2e1
|
|
1234
|
-
#
|
|
1235
|
-
# * String: converted by parsing if it contains an integer or floating-point
|
|
1236
|
-
# literal; leading and trailing whitespace is ignored:
|
|
1237
|
-
#
|
|
1238
|
-
# # String does not require ndigits; ignored if given.
|
|
1239
|
-
# BigDecimal('2') # => 0.2e1
|
|
1240
|
-
# BigDecimal('2.0') # => 0.2e1
|
|
1241
|
-
# BigDecimal('0.2e1') # => 0.2e1
|
|
1242
|
-
# BigDecimal(' 2.0 ') # => 0.2e1
|
|
1243
|
-
#
|
|
1244
|
-
# * Other type that responds to method `:to_str`: first converted to a string,
|
|
1245
|
-
# then converted to a BigDecimal, as above.
|
|
1246
|
-
#
|
|
1247
|
-
# * Other type:
|
|
1248
|
-
#
|
|
1249
|
-
# * Raises an exception if keyword argument `exception` is `true`.
|
|
1250
|
-
# * Returns `nil` if keyword argument `exception` is `false`.
|
|
1251
|
-
#
|
|
1252
|
-
# Raises an exception if `value` evaluates to a Float and `digits` is larger
|
|
1253
|
-
# than Float::DIG + 1.
|
|
1254
|
-
#
|
|
1255
|
-
def self?.BigDecimal: (real | string | BigDecimal initial, ?int digits, ?exception: bool) -> BigDecimal
|
|
1256
|
-
end
|
|
1257
|
-
|
|
1258
|
-
%a{annotate:rdoc:skip}
|
|
1259
|
-
class Integer
|
|
1260
|
-
# <!--
|
|
1261
|
-
# rdoc-file=ext/bigdecimal/lib/bigdecimal/util.rb
|
|
1262
|
-
# - int.to_d -> bigdecimal
|
|
1263
|
-
# -->
|
|
1264
|
-
# Returns the value of `int` as a BigDecimal.
|
|
1265
|
-
#
|
|
1266
|
-
# require 'bigdecimal'
|
|
1267
|
-
# require 'bigdecimal/util'
|
|
1268
|
-
#
|
|
1269
|
-
# 42.to_d # => 0.42e2
|
|
1270
|
-
#
|
|
1271
|
-
# See also Kernel.BigDecimal.
|
|
1272
|
-
#
|
|
1273
|
-
def to_d: () -> BigDecimal
|
|
1274
|
-
|
|
1275
|
-
# <!--
|
|
1276
|
-
# rdoc-file=numeric.c
|
|
1277
|
-
# - self / numeric -> numeric_result
|
|
1278
|
-
# -->
|
|
1279
|
-
# Performs division; for integer `numeric`, truncates the result to an integer:
|
|
1280
|
-
#
|
|
1281
|
-
# 4 / 3 # => 1
|
|
1282
|
-
# 4 / -3 # => -2
|
|
1283
|
-
# -4 / 3 # => -2
|
|
1284
|
-
# -4 / -3 # => 1
|
|
1285
|
-
#
|
|
1286
|
-
# For other +numeric+, returns non-integer result:
|
|
1287
|
-
#
|
|
1288
|
-
# 4 / 3.0 # => 1.3333333333333333
|
|
1289
|
-
# 4 / Rational(3, 1) # => (4/3)
|
|
1290
|
-
# 4 / Complex(3, 0) # => ((4/3)+0i)
|
|
1291
|
-
#
|
|
1292
|
-
def /: (BigDecimal) -> BigDecimal
|
|
1293
|
-
| ...
|
|
1294
|
-
|
|
1295
|
-
# <!--
|
|
1296
|
-
# rdoc-file=numeric.c
|
|
1297
|
-
# - self * numeric -> numeric_result
|
|
1298
|
-
# -->
|
|
1299
|
-
# Performs multiplication:
|
|
1300
|
-
#
|
|
1301
|
-
# 4 * 2 # => 8
|
|
1302
|
-
# 4 * -2 # => -8
|
|
1303
|
-
# -4 * 2 # => -8
|
|
1304
|
-
# 4 * 2.0 # => 8.0
|
|
1305
|
-
# 4 * Rational(1, 3) # => (4/3)
|
|
1306
|
-
# 4 * Complex(2, 0) # => (8+0i)
|
|
1307
|
-
#
|
|
1308
|
-
def *: (BigDecimal) -> BigDecimal
|
|
1309
|
-
| ...
|
|
1310
|
-
|
|
1311
|
-
# <!--
|
|
1312
|
-
# rdoc-file=numeric.c
|
|
1313
|
-
# - self + numeric -> numeric_result
|
|
1314
|
-
# -->
|
|
1315
|
-
# Performs addition:
|
|
1316
|
-
#
|
|
1317
|
-
# 2 + 2 # => 4
|
|
1318
|
-
# -2 + 2 # => 0
|
|
1319
|
-
# -2 + -2 # => -4
|
|
1320
|
-
# 2 + 2.0 # => 4.0
|
|
1321
|
-
# 2 + Rational(2, 1) # => (4/1)
|
|
1322
|
-
# 2 + Complex(2, 0) # => (4+0i)
|
|
1323
|
-
#
|
|
1324
|
-
def +: (BigDecimal) -> BigDecimal
|
|
1325
|
-
| ...
|
|
1326
|
-
|
|
1327
|
-
# <!--
|
|
1328
|
-
# rdoc-file=numeric.c
|
|
1329
|
-
# - self - numeric -> numeric_result
|
|
1330
|
-
# -->
|
|
1331
|
-
# Performs subtraction:
|
|
1332
|
-
#
|
|
1333
|
-
# 4 - 2 # => 2
|
|
1334
|
-
# -4 - 2 # => -6
|
|
1335
|
-
# -4 - -2 # => -2
|
|
1336
|
-
# 4 - 2.0 # => 2.0
|
|
1337
|
-
# 4 - Rational(2, 1) # => (2/1)
|
|
1338
|
-
# 4 - Complex(2, 0) # => (2+0i)
|
|
1339
|
-
#
|
|
1340
|
-
def -: (BigDecimal) -> BigDecimal
|
|
1341
|
-
| ...
|
|
1342
|
-
end
|
|
1343
|
-
|
|
1344
|
-
%a{annotate:rdoc:skip}
|
|
1345
|
-
class Float
|
|
1346
|
-
# <!--
|
|
1347
|
-
# rdoc-file=ext/bigdecimal/lib/bigdecimal/util.rb
|
|
1348
|
-
# - float.to_d -> bigdecimal
|
|
1349
|
-
# - float.to_d(precision) -> bigdecimal
|
|
1350
|
-
# -->
|
|
1351
|
-
# Returns the value of `float` as a BigDecimal. The `precision` parameter is
|
|
1352
|
-
# used to determine the number of significant digits for the result. When
|
|
1353
|
-
# `precision` is set to `0`, the number of digits to represent the float being
|
|
1354
|
-
# converted is determined automatically. The default `precision` is `0`.
|
|
1355
|
-
#
|
|
1356
|
-
# require 'bigdecimal'
|
|
1357
|
-
# require 'bigdecimal/util'
|
|
1358
|
-
#
|
|
1359
|
-
# 0.5.to_d # => 0.5e0
|
|
1360
|
-
# 1.234.to_d # => 0.1234e1
|
|
1361
|
-
# 1.234.to_d(2) # => 0.12e1
|
|
1362
|
-
#
|
|
1363
|
-
# See also Kernel.BigDecimal.
|
|
1364
|
-
#
|
|
1365
|
-
def to_d: (?Integer precision) -> BigDecimal
|
|
1366
|
-
|
|
1367
|
-
# <!--
|
|
1368
|
-
# rdoc-file=numeric.c
|
|
1369
|
-
# - self / other -> numeric
|
|
1370
|
-
# -->
|
|
1371
|
-
# Returns a new Float which is the result of dividing `self` by `other`:
|
|
1372
|
-
#
|
|
1373
|
-
# f = 3.14
|
|
1374
|
-
# f / 2 # => 1.57
|
|
1375
|
-
# f / 2.0 # => 1.57
|
|
1376
|
-
# f / Rational(2, 1) # => 1.57
|
|
1377
|
-
# f / Complex(2, 0) # => (1.57+0.0i)
|
|
1378
|
-
#
|
|
1379
|
-
def /: (BigDecimal) -> BigDecimal
|
|
1380
|
-
| ...
|
|
1381
|
-
|
|
1382
|
-
# <!--
|
|
1383
|
-
# rdoc-file=numeric.c
|
|
1384
|
-
# - self * other -> numeric
|
|
1385
|
-
# -->
|
|
1386
|
-
# Returns a new Float which is the product of `self` and `other`:
|
|
1387
|
-
#
|
|
1388
|
-
# f = 3.14
|
|
1389
|
-
# f * 2 # => 6.28
|
|
1390
|
-
# f * 2.0 # => 6.28
|
|
1391
|
-
# f * Rational(1, 2) # => 1.57
|
|
1392
|
-
# f * Complex(2, 0) # => (6.28+0.0i)
|
|
1393
|
-
#
|
|
1394
|
-
def *: (BigDecimal) -> BigDecimal
|
|
1395
|
-
| ...
|
|
1396
|
-
|
|
1397
|
-
# <!--
|
|
1398
|
-
# rdoc-file=numeric.c
|
|
1399
|
-
# - self + other -> numeric
|
|
1400
|
-
# -->
|
|
1401
|
-
# Returns a new Float which is the sum of `self` and `other`:
|
|
1402
|
-
#
|
|
1403
|
-
# f = 3.14
|
|
1404
|
-
# f + 1 # => 4.140000000000001
|
|
1405
|
-
# f + 1.0 # => 4.140000000000001
|
|
1406
|
-
# f + Rational(1, 1) # => 4.140000000000001
|
|
1407
|
-
# f + Complex(1, 0) # => (4.140000000000001+0i)
|
|
1408
|
-
#
|
|
1409
|
-
def +: (BigDecimal) -> BigDecimal
|
|
1410
|
-
| ...
|
|
1411
|
-
|
|
1412
|
-
# <!--
|
|
1413
|
-
# rdoc-file=numeric.c
|
|
1414
|
-
# - self - other -> numeric
|
|
1415
|
-
# -->
|
|
1416
|
-
# Returns a new Float which is the difference of `self` and `other`:
|
|
1417
|
-
#
|
|
1418
|
-
# f = 3.14
|
|
1419
|
-
# f - 1 # => 2.14
|
|
1420
|
-
# f - 1.0 # => 2.14
|
|
1421
|
-
# f - Rational(1, 1) # => 2.14
|
|
1422
|
-
# f - Complex(1, 0) # => (2.14+0i)
|
|
1423
|
-
#
|
|
1424
|
-
def -: (BigDecimal) -> BigDecimal
|
|
1425
|
-
| ...
|
|
1426
|
-
end
|
|
1427
|
-
|
|
1428
|
-
%a{annotate:rdoc:skip}
|
|
1429
|
-
class String
|
|
1430
|
-
# <!--
|
|
1431
|
-
# rdoc-file=ext/bigdecimal/lib/bigdecimal/util.rb
|
|
1432
|
-
# - str.to_d -> bigdecimal
|
|
1433
|
-
# -->
|
|
1434
|
-
# Returns the result of interpreting leading characters in `str` as a
|
|
1435
|
-
# BigDecimal.
|
|
1436
|
-
#
|
|
1437
|
-
# require 'bigdecimal'
|
|
1438
|
-
# require 'bigdecimal/util'
|
|
1439
|
-
#
|
|
1440
|
-
# "0.5".to_d # => 0.5e0
|
|
1441
|
-
# "123.45e1".to_d # => 0.12345e4
|
|
1442
|
-
# "45.67 degrees".to_d # => 0.4567e2
|
|
1443
|
-
#
|
|
1444
|
-
# See also Kernel.BigDecimal.
|
|
1445
|
-
#
|
|
1446
|
-
def to_d: () -> BigDecimal
|
|
1447
|
-
end
|
|
1448
|
-
|
|
1449
|
-
%a{annotate:rdoc:skip}
|
|
1450
|
-
class Rational
|
|
1451
|
-
# <!--
|
|
1452
|
-
# rdoc-file=ext/bigdecimal/lib/bigdecimal/util.rb
|
|
1453
|
-
# - rat.to_d(precision) -> bigdecimal
|
|
1454
|
-
# -->
|
|
1455
|
-
# Returns the value as a BigDecimal.
|
|
1456
|
-
#
|
|
1457
|
-
# The required `precision` parameter is used to determine the number of
|
|
1458
|
-
# significant digits for the result.
|
|
1459
|
-
#
|
|
1460
|
-
# require 'bigdecimal'
|
|
1461
|
-
# require 'bigdecimal/util'
|
|
1462
|
-
#
|
|
1463
|
-
# Rational(22, 7).to_d(3) # => 0.314e1
|
|
1464
|
-
#
|
|
1465
|
-
# See also Kernel.BigDecimal.
|
|
1466
|
-
#
|
|
1467
|
-
def to_d: (Integer precision) -> BigDecimal
|
|
1468
|
-
|
|
1469
|
-
# <!--
|
|
1470
|
-
# rdoc-file=rational.c
|
|
1471
|
-
# - rat / numeric -> numeric
|
|
1472
|
-
# - rat.quo(numeric) -> numeric
|
|
1473
|
-
# -->
|
|
1474
|
-
# Performs division.
|
|
1475
|
-
#
|
|
1476
|
-
# Rational(2, 3) / Rational(2, 3) #=> (1/1)
|
|
1477
|
-
# Rational(900) / Rational(1) #=> (900/1)
|
|
1478
|
-
# Rational(-2, 9) / Rational(-9, 2) #=> (4/81)
|
|
1479
|
-
# Rational(9, 8) / 4 #=> (9/32)
|
|
1480
|
-
# Rational(20, 9) / 9.8 #=> 0.22675736961451246
|
|
1481
|
-
#
|
|
1482
|
-
def /: (BigDecimal) -> BigDecimal
|
|
1483
|
-
| ...
|
|
1484
|
-
|
|
1485
|
-
# <!--
|
|
1486
|
-
# rdoc-file=rational.c
|
|
1487
|
-
# - rat * numeric -> numeric
|
|
1488
|
-
# -->
|
|
1489
|
-
# Performs multiplication.
|
|
1490
|
-
#
|
|
1491
|
-
# Rational(2, 3) * Rational(2, 3) #=> (4/9)
|
|
1492
|
-
# Rational(900) * Rational(1) #=> (900/1)
|
|
1493
|
-
# Rational(-2, 9) * Rational(-9, 2) #=> (1/1)
|
|
1494
|
-
# Rational(9, 8) * 4 #=> (9/2)
|
|
1495
|
-
# Rational(20, 9) * 9.8 #=> 21.77777777777778
|
|
1496
|
-
#
|
|
1497
|
-
def *: (BigDecimal) -> BigDecimal
|
|
1498
|
-
| ...
|
|
1499
|
-
|
|
1500
|
-
# <!--
|
|
1501
|
-
# rdoc-file=rational.c
|
|
1502
|
-
# - rat + numeric -> numeric
|
|
1503
|
-
# -->
|
|
1504
|
-
# Performs addition.
|
|
1505
|
-
#
|
|
1506
|
-
# Rational(2, 3) + Rational(2, 3) #=> (4/3)
|
|
1507
|
-
# Rational(900) + Rational(1) #=> (901/1)
|
|
1508
|
-
# Rational(-2, 9) + Rational(-9, 2) #=> (-85/18)
|
|
1509
|
-
# Rational(9, 8) + 4 #=> (41/8)
|
|
1510
|
-
# Rational(20, 9) + 9.8 #=> 12.022222222222222
|
|
1511
|
-
#
|
|
1512
|
-
def +: (BigDecimal) -> BigDecimal
|
|
1513
|
-
| ...
|
|
1514
|
-
|
|
1515
|
-
# <!--
|
|
1516
|
-
# rdoc-file=rational.c
|
|
1517
|
-
# - rat - numeric -> numeric
|
|
1518
|
-
# -->
|
|
1519
|
-
# Performs subtraction.
|
|
1520
|
-
#
|
|
1521
|
-
# Rational(2, 3) - Rational(2, 3) #=> (0/1)
|
|
1522
|
-
# Rational(900) - Rational(1) #=> (899/1)
|
|
1523
|
-
# Rational(-2, 9) - Rational(-9, 2) #=> (77/18)
|
|
1524
|
-
# Rational(9, 8) - 4 #=> (-23/8)
|
|
1525
|
-
# Rational(20, 9) - 9.8 #=> -7.577777777777778
|
|
1526
|
-
#
|
|
1527
|
-
def -: (BigDecimal) -> BigDecimal
|
|
1528
|
-
| ...
|
|
1529
|
-
end
|
|
1530
|
-
|
|
1531
|
-
%a{annotate:rdoc:skip}
|
|
1532
|
-
class Complex
|
|
1533
|
-
# <!--
|
|
1534
|
-
# rdoc-file=ext/bigdecimal/lib/bigdecimal/util.rb
|
|
1535
|
-
# - cmp.to_d -> bigdecimal
|
|
1536
|
-
# - cmp.to_d(precision) -> bigdecimal
|
|
1537
|
-
# -->
|
|
1538
|
-
# Returns the value as a BigDecimal.
|
|
1539
|
-
#
|
|
1540
|
-
# The `precision` parameter is required for a rational complex number. This
|
|
1541
|
-
# parameter is used to determine the number of significant digits for the
|
|
1542
|
-
# result.
|
|
1543
|
-
#
|
|
1544
|
-
# require 'bigdecimal'
|
|
1545
|
-
# require 'bigdecimal/util'
|
|
1546
|
-
#
|
|
1547
|
-
# Complex(0.1234567, 0).to_d(4) # => 0.1235e0
|
|
1548
|
-
# Complex(Rational(22, 7), 0).to_d(3) # => 0.314e1
|
|
1549
|
-
#
|
|
1550
|
-
# See also Kernel.BigDecimal.
|
|
1551
|
-
#
|
|
1552
|
-
def to_d: (*untyped args) -> BigDecimal
|
|
1553
|
-
|
|
1554
|
-
# <!--
|
|
1555
|
-
# rdoc-file=complex.c
|
|
1556
|
-
# - complex / numeric -> new_complex
|
|
1557
|
-
# -->
|
|
1558
|
-
# Returns the quotient of `self` and `numeric`:
|
|
1559
|
-
#
|
|
1560
|
-
# Complex.rect(2, 3) / Complex.rect(2, 3) # => (1+0i)
|
|
1561
|
-
# Complex.rect(900) / Complex.rect(1) # => (900+0i)
|
|
1562
|
-
# Complex.rect(-2, 9) / Complex.rect(-9, 2) # => ((36/85)-(77/85)*i)
|
|
1563
|
-
# Complex.rect(9, 8) / 4 # => ((9/4)+2i)
|
|
1564
|
-
# Complex.rect(20, 9) / 9.8 # => (2.0408163265306123+0.9183673469387754i)
|
|
1565
|
-
#
|
|
1566
|
-
def /: (BigDecimal) -> Complex
|
|
1567
|
-
| ...
|
|
1568
|
-
|
|
1569
|
-
# <!--
|
|
1570
|
-
# rdoc-file=complex.c
|
|
1571
|
-
# - complex * numeric -> new_complex
|
|
1572
|
-
# -->
|
|
1573
|
-
# Returns the product of `self` and `numeric`:
|
|
1574
|
-
#
|
|
1575
|
-
# Complex.rect(2, 3) * Complex.rect(2, 3) # => (-5+12i)
|
|
1576
|
-
# Complex.rect(900) * Complex.rect(1) # => (900+0i)
|
|
1577
|
-
# Complex.rect(-2, 9) * Complex.rect(-9, 2) # => (0-85i)
|
|
1578
|
-
# Complex.rect(9, 8) * 4 # => (36+32i)
|
|
1579
|
-
# Complex.rect(20, 9) * 9.8 # => (196.0+88.2i)
|
|
1580
|
-
#
|
|
1581
|
-
def *: (BigDecimal) -> Complex
|
|
1582
|
-
| ...
|
|
1583
|
-
|
|
1584
|
-
# <!--
|
|
1585
|
-
# rdoc-file=complex.c
|
|
1586
|
-
# - complex + numeric -> new_complex
|
|
1587
|
-
# -->
|
|
1588
|
-
# Returns the sum of `self` and `numeric`:
|
|
1589
|
-
#
|
|
1590
|
-
# Complex.rect(2, 3) + Complex.rect(2, 3) # => (4+6i)
|
|
1591
|
-
# Complex.rect(900) + Complex.rect(1) # => (901+0i)
|
|
1592
|
-
# Complex.rect(-2, 9) + Complex.rect(-9, 2) # => (-11+11i)
|
|
1593
|
-
# Complex.rect(9, 8) + 4 # => (13+8i)
|
|
1594
|
-
# Complex.rect(20, 9) + 9.8 # => (29.8+9i)
|
|
1595
|
-
#
|
|
1596
|
-
def +: (BigDecimal) -> Complex
|
|
1597
|
-
| ...
|
|
1598
|
-
|
|
1599
|
-
# <!--
|
|
1600
|
-
# rdoc-file=complex.c
|
|
1601
|
-
# - complex - numeric -> new_complex
|
|
1602
|
-
# -->
|
|
1603
|
-
# Returns the difference of `self` and `numeric`:
|
|
1604
|
-
#
|
|
1605
|
-
# Complex.rect(2, 3) - Complex.rect(2, 3) # => (0+0i)
|
|
1606
|
-
# Complex.rect(900) - Complex.rect(1) # => (899+0i)
|
|
1607
|
-
# Complex.rect(-2, 9) - Complex.rect(-9, 2) # => (7+7i)
|
|
1608
|
-
# Complex.rect(9, 8) - 4 # => (5+8i)
|
|
1609
|
-
# Complex.rect(20, 9) - 9.8 # => (10.2+9i)
|
|
1610
|
-
#
|
|
1611
|
-
def -: (BigDecimal) -> Complex
|
|
1612
|
-
| ...
|
|
1613
|
-
end
|
|
1614
|
-
|
|
1615
|
-
%a{annotate:rdoc:skip}
|
|
1616
|
-
class NilClass
|
|
1617
|
-
# <!--
|
|
1618
|
-
# rdoc-file=ext/bigdecimal/lib/bigdecimal/util.rb
|
|
1619
|
-
# - nil.to_d -> bigdecimal
|
|
1620
|
-
# -->
|
|
1621
|
-
# Returns nil represented as a BigDecimal.
|
|
1622
|
-
#
|
|
1623
|
-
# require 'bigdecimal'
|
|
1624
|
-
# require 'bigdecimal/util'
|
|
1625
|
-
#
|
|
1626
|
-
# nil.to_d # => 0.0
|
|
1627
|
-
#
|
|
1628
|
-
def to_d: () -> BigDecimal
|
|
1629
|
-
end
|