diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2026-01-30 17:11:59 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2026-02-01 22:12:29 -0500 |
| commit | 34f848b366f72ef04a29097ed2e72e748ecbb4ae (patch) | |
| tree | 11693d4dd8078c96b0141a3ce818764e3a081b69 /hash.c | |
| parent | 3ab35e5e2e9dfa156aa87d30a90a66593198400d (diff) | |
[DOC] Fix hash style in Hash#dig
Diffstat (limited to 'hash.c')
| -rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4850,7 +4850,7 @@ rb_hash_any_p(int argc, VALUE *argv, VALUE hash) * h.dig(:hello) # => nil * h.default_proc = -> (hash, _key) { hash } * h.dig(:hello, :world) - * # => {:foo=>{:bar=>[:a, :b, :c]}} + * # => {foo: {bar: [:a, :b, :c]}} * * Related: {Methods for Fetching}[rdoc-ref:Hash@Methods+for+Fetching]. */ |
