From d6b8b8c1429f8291105bea6bb59d407d442988e8 Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Sat, 5 Aug 2017 17:28:26 +0930 Subject: Revert "Merge pull request #15446 from akshay-vishnoi/doc_changes" It was right as originally written in #15440. --- activesupport/lib/active_support/hash_with_indifferent_access.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport') 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| -- cgit v1.2.3