Skip to content

Commit

Permalink
Revert "Merge pull request #15446 from akshay-vishnoi/doc_changes"
Browse files Browse the repository at this point in the history
It was right as originally written in #15440.
  • Loading branch information
matthewd committed Aug 5, 2017
1 parent 4d56efd commit 27e0a38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def values_at(*indices)
# 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|
Expand Down

0 comments on commit 27e0a38

Please sign in to comment.