[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.
This commit is contained in:
Peter Zhu 2022-12-20 15:09:14 -05:00
parent 790b3f7bbd
commit 63fe03aa4e
2 changed files with 2 additions and 2 deletions

2
gc.rb
View file

@ -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
#