Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update doc for Ruby v3.3.1 #1811

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion core/ruby_vm.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,11 @@ module RubyVM::YJIT
# rdoc-file=yjit.rb
# - enable(stats: false)
# -->
# Enable YJIT compilation.
# Enable YJIT compilation. `stats` option decides whether to enable YJIT stats
# or not.
# * `false`: Disable stats.
# * `true`: Enable stats. Print stats at exit.
# * `:quiet`: Enable stats. Do not print stats at exit.
#
def self.enable: () -> void
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method signature is also changed...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😱


Expand Down
2 changes: 1 addition & 1 deletion core/rubygems/rubygems.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ module Gem
# rdoc-file=lib/rubygems.rb
# - find_unresolved_default_spec(path)
# -->
# Find a Gem::Specification of default gem from `path`
# Find an unresolved Gem::Specification of default gem from `path`
#
def self.find_unresolved_default_spec: (String path) -> Specification?

Expand Down