summaryrefslogtreecommitdiff
path: root/gc.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-12-20 15:09:14 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-12-20 15:09:14 -0500
commit63fe03aa4e9bba62dec83e5b7927c47b9599eeff (patch)
tree337822a46780a2d4ee821b38b2cfd942a59f018b /gc.rb
parent790b3f7bbde1e1c9594c12e8d8ed8ae9718148f7 (diff)
downloadruby-63fe03aa4e9bba62dec83e5b7927c47b9599eeff.tar.gz
[DOC] Fix call-seq for GC methods
RDoc parses the last arrow in the call-seq as the arrow for the return type. It was getting confused over the arrow in the hash.
Diffstat (limited to 'gc.rb')
-rw-r--r--gc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.rb b/gc.rb
index 2fbef475e0..3912d35f4c 100644
--- a/gc.rb
+++ b/gc.rb
@@ -219,7 +219,7 @@ module GC
end
# call-seq:
- # GC.latest_gc_info -> {:gc_by=>:newobj}
+ # GC.latest_gc_info -> hash
# GC.latest_gc_info(hash) -> hash
# GC.latest_gc_info(:major_by) -> :malloc
#