diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-08-11 10:40:38 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-08-11 22:14:57 -0400 |
| commit | 428937a5365192e5cf2ef97d2191e25cc9bd963f (patch) | |
| tree | 8546cc219fe819dff580a878798857b208fb0678 | |
| parent | 306df1294985f6e4404046fc4f17f4c8082af152 (diff) | |
[DOC] Fix docs for GC.config
After commit 61fff8a, GC.config now returns the same hash for getting and
setting.
| -rw-r--r-- | gc.rb | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -258,7 +258,7 @@ module GC # call-seq: # GC.config -> hash - # GC.config(hash_to_merge) -> merged_hash + # GC.config(hash_to_merge) -> hash # # This method is implementation-specific to CRuby. # @@ -274,15 +274,11 @@ module GC # With argument +hash_to_merge+ given, # merges that hash into the stored configuration hash; # ignores unknown hash keys; - # returns the implementation-specific configuration hash (see below): + # returns the configuration hash: # # GC.config(rgengc_allow_full_mark: false) - # # => {rgengc_allow_full_mark: false} - # GC.config # # => {rgengc_allow_full_mark: false, implementation: "default"} # GC.config(foo: 'bar') - # # => {rgengc_allow_full_mark: false} - # GC.config # # => {rgengc_allow_full_mark: false, implementation: "default"} # # <b>All-Implementations Configuration</b> |
