diff options
author | Xavier Noria <fxn@hashref.com> | 2012-07-21 08:08:30 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-07-21 08:08:30 +0200 |
commit | b6693532e90bc95b2d5a4ad0a87a1339ed3758bc (patch) | |
tree | 827e301390cef9daec9ea3bbd531b6f81bc14119 /activesupport | |
parent | 5a6f30ff0f11f6d685d2601a60700784e3555b8b (diff) | |
download | rails-b6693532e90bc95b2d5a4ad0a87a1339ed3758bc.tar.gz rails-b6693532e90bc95b2d5a4ad0a87a1339ed3758bc.tar.bz2 rails-b6693532e90bc95b2d5a4ad0a87a1339ed3758bc.zip |
Revert "Fix a reference"
The sentence itself was not exact, [] and fetch are different. Reverting
in docrails because it has been reworded in master and 3-2-stable,see
98f4aee8dac22d9e9bb3c122b43e9e5ee8ba7d1c.
This reverts commit 69879667dcf4494915f1b9d826f17856bff11887.
Diffstat (limited to 'activesupport')
-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 a6796d44f0..3e6c8893e9 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -96,7 +96,7 @@ module ActiveSupport alias_method :has_key?, :key? alias_method :member?, :key? - # Fetches the value for the specified key, same as doing <tt>hash[key]</tt> + # Fetches the value for the specified key, same as doing hash[key] def fetch(key, *extras) super(convert_key(key), *extras) end |