aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/hash_with_indifferent_access.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/hash_with_indifferent_access.rb')
-rw-r--r--activesupport/lib/active_support/hash_with_indifferent_access.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb
index 91459f3e5b..3191a3bdc6 100644
--- a/activesupport/lib/active_support/hash_with_indifferent_access.rb
+++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -53,7 +53,6 @@ module ActiveSupport
#
# hash = HashWithIndifferentAccess.new
# hash[:key] = "value"
- #
def []=(key, value)
regular_writer(convert_key(key), convert_value(value))
end
@@ -69,7 +68,6 @@ module ActiveSupport
# hash_2[:key] = "New Value!"
#
# hash_1.update(hash_2) # => {"key"=>"New Value!"}
- #
def update(other_hash)
if other_hash.is_a? HashWithIndifferentAccess
super(other_hash)
@@ -87,7 +85,6 @@ module ActiveSupport
# hash["key"] = "value"
# hash.key? :key # => true
# hash.key? "key" # => true
- #
def key?(key)
super(convert_key(key))
end
@@ -107,7 +104,6 @@ module ActiveSupport
# hash[:a] = "x"
# hash[:b] = "y"
# hash.values_at("a", "b") # => ["x", "y"]
- #
def values_at(*indices)
indices.collect {|key| self[convert_key(key)]}
end