aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-08-05 17:28:26 +0930
committerMatthew Draper <matthew@trebex.net>2017-08-05 17:29:48 +0930
commitd6b8b8c1429f8291105bea6bb59d407d442988e8 (patch)
treea56f5e88d28998312199bf13ba7c24202a72d3e9 /activesupport/lib
parent95ad242c8066e71c403d53ea634f347e357473b1 (diff)
downloadrails-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.rb2
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|