aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/hash_with_indifferent_access.rb18
1 files changed, 1 insertions, 17 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb
index 8638667082..79e7feaf47 100644
--- a/activesupport/lib/active_support/hash_with_indifferent_access.rb
+++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -316,20 +316,4 @@ module ActiveSupport
end
end
-class HashWithIndifferentAccess < ActiveSupport::HashWithIndifferentAccess
- def initialize(*)
- ActiveSupport::Deprecation.warn "HashWithIndifferentAccess is deprecated!" \
- "Use ActiveSupport::HashWithIndifferentAccess instead."
- super
- end
-
- def self.inherited(*)
- ActiveSupport::Deprecation.warn "HashWithIndifferentAccess is deprecated!" \
- "Use ActiveSupport::HashWithIndifferentAccess instead."
- super
- end
-
- def encode_with(coder)
- coder.represent_object(nil, ActiveSupport::HashWithIndifferentAccess.new(self))
- end
-end
+HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess