From 2883fb18c19f6b6f1a16902a545af529563f1233 Mon Sep 17 00:00:00 2001 From: ksss Date: Wed, 24 Apr 2024 15:24:02 +0900 Subject: [PATCH] Update doc for Ruby v3.3.1 --- core/ruby_vm.rbs | 6 +++++- core/rubygems/rubygems.rbs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/ruby_vm.rbs b/core/ruby_vm.rbs index fc32dcf71..540be78eb 100644 --- a/core/ruby_vm.rbs +++ b/core/ruby_vm.rbs @@ -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 diff --git a/core/rubygems/rubygems.rbs b/core/rubygems/rubygems.rbs index 91c157146..456f8a498 100644 --- a/core/rubygems/rubygems.rbs +++ b/core/rubygems/rubygems.rbs @@ -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?