Module: ActiveSupport::CoreExtensions::Hash::IndifferentAccess
- Included in:
- Hash
- Defined in:
- lib/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/indifferent_access.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#with_indifferent_access ⇒ Object
129 130 131 132 133 |
# File 'lib/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/indifferent_access.rb', line 129 def with_indifferent_access hash = HashWithIndifferentAccess.new(self) hash.default = self.default hash end |