ruby-changes:69970
From: Peter <ko1@a...>
Date: Mon, 29 Nov 2021 23:40:44 +0900 (JST)
Subject: [ruby-changes:69970] f8ead3a72f (master): [ci skip] Update documentation for GC.stat
https://git.ruby-lang.org/ruby.git/commit/?id=f8ead3a72f From f8ead3a72f4cde3dbec48d33f8921a97b090f799 Mon Sep 17 00:00:00 2001 From: Peter Zhu <peter@p...> Date: Mon, 29 Nov 2021 09:33:54 -0500 Subject: [ci skip] Update documentation for GC.stat --- gc.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gc.rb b/gc.rb index 7a60710f66d..45930c3dab7 100644 --- a/gc.rb +++ b/gc.rb @@ -123,13 +123,13 @@ module GC https://github.com/ruby/ruby/blob/trunk/gc.rb#L123 # call-seq: # GC.stat -> Hash - # GC.stat(hash) -> hash + # GC.stat(hash) -> Hash # GC.stat(:key) -> Numeric # # Returns a Hash containing information about the GC. # - # The contents of the hash are implementation specific and may be changed in - # the future. + # The contents of the hash are implementation specific and may change in + # the future without notice. # # The hash includes information about internal statistics about GC such as: # @@ -191,7 +191,7 @@ module GC https://github.com/ruby/ruby/blob/trunk/gc.rb#L191 # it is overwritten and returned. # This is intended to avoid probe effect. # - # This method is only expected to work on C Ruby. + # This method is only expected to work on CRuby. def self.stat hash_or_key = nil Primitive.gc_stat hash_or_key end -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/