diff options
author | suchasurge <frank@heidjer.info> | 2011-03-06 10:26:24 +0100 |
---|---|---|
committer | suchasurge <frank@heidjer.info> | 2011-03-06 10:26:24 +0100 |
commit | 9b96de6f3dfa31695c2fc27919e2989a98f6899d (patch) | |
tree | 4e3b9d6124af835355d7078de54c29921f392d3c /activesupport/lib/active_support/hash_with_indifferent_access.rb | |
parent | ac59a2a1d67aca74895ceddbc709a467c572144b (diff) | |
download | rails-9b96de6f3dfa31695c2fc27919e2989a98f6899d.tar.gz rails-9b96de6f3dfa31695c2fc27919e2989a98f6899d.tar.bz2 rails-9b96de6f3dfa31695c2fc27919e2989a98f6899d.zip |
Some style changes
Diffstat (limited to 'activesupport/lib/active_support/hash_with_indifferent_access.rb')
-rw-r--r-- | activesupport/lib/active_support/hash_with_indifferent_access.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb index 6a344867ee..79a0de7940 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -1,7 +1,7 @@ require 'active_support/core_ext/hash/keys' # This class has dubious semantics and we only have it so that -# people can write params[:key] instead of params['key'] +# people can write <tt>params[:key]</tt> instead of <tt>params['key']</tt> # and they get the same value for both keys. module ActiveSupport @@ -109,7 +109,7 @@ module ActiveSupport end # Performs the opposite of merge, with the keys and values from the first hash taking precedence over the second. - # This overloaded definition prevents returning a regular hash, if reverse_merge is called on a HashWithDifferentAccess. + # This overloaded definition prevents returning a regular hash, if reverse_merge is called on a <tt>HashWithDifferentAccess</tt>. def reverse_merge(other_hash) super self.class.new_from_hash_copying_default(other_hash) end |