aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-08-05 09:11:02 -0500
committerGitHub <noreply@github.com>2017-08-05 09:11:02 -0500
commit616f3611d525b97c5cdb1a5feee25621cca27daf (patch)
tree79591ed29b2a9670519438bce2d53f1a096cee06 /activesupport
parentbb7599a6c84aba44cbb5f21486ffdb4a549717dd (diff)
parent6df24c693ed50a66feaf116c90df7eba5acf4033 (diff)
downloadrails-616f3611d525b97c5cdb1a5feee25621cca27daf.tar.gz
rails-616f3611d525b97c5cdb1a5feee25621cca27daf.tar.bz2
rails-616f3611d525b97c5cdb1a5feee25621cca27daf.zip
Merge branch 'master' into ast-module
Diffstat (limited to 'activesupport')
-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|