Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct documentation example on Hash#dig
Fixes [Misc #17842]. The current documentation suggests that: {foo: {bar: {baz: 2}}}.dig(:foo, :bar) # => {:bar=>{:baz=>2}} when it should be: {foo: {bar: {baz: 2}}}.dig(:foo, :bar) # => {:baz=>2}
- Loading branch information