diff options
author | Matthew Draper <matthew@trebex.net> | 2017-08-05 17:28:26 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2017-08-05 17:29:48 +0930 |
commit | d6b8b8c1429f8291105bea6bb59d407d442988e8 (patch) | |
tree | a56f5e88d28998312199bf13ba7c24202a72d3e9 /activesupport/lib | |
parent | 95ad242c8066e71c403d53ea634f347e357473b1 (diff) | |
download | rails-d6b8b8c1429f8291105bea6bb59d407d442988e8.tar.gz rails-d6b8b8c1429f8291105bea6bb59d407d442988e8.tar.bz2 rails-d6b8b8c1429f8291105bea6bb59d407d442988e8.zip |
Revert "Merge pull request #15446 from akshay-vishnoi/doc_changes"
It was right as originally written in #15440.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/hash_with_indifferent_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb index 44e95f58a1..12291af443 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -236,7 +236,7 @@ module ActiveSupport # dup = hash.dup # dup[:a][:c] = 'c' # - # hash[:a][:c] # => nil + # hash[:a][:c] # => "c" # dup[:a][:c] # => "c" def dup self.class.new(self).tap do |new_hash| |