Skip to content

Commit

Permalink
Correct result, previously showing wrong result
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay Vishnoi committed Jun 4, 2014
1 parent ed38c5a commit f02346b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ def with_indifferent_access
#
# b = { b: 1 }
# { a: b }.with_indifferent_access['a'] # calls b.nested_under_indifferent_access
# # => {"b"=>32}
# # => {"b"=>1}
alias nested_under_indifferent_access with_indifferent_access
end

0 comments on commit f02346b

Please sign in to comment.