Class: Scimitar::Support::HashWithIndifferentCaseInsensitiveAccess
- Inherits:
-
ActiveSupport::HashWithIndifferentAccess
- Object
- ActiveSupport::HashWithIndifferentAccess
- Scimitar::Support::HashWithIndifferentCaseInsensitiveAccess
- Defined in:
- lib/scimitar/support/hash_with_indifferent_case_insensitive_access.rb
Overview
A subclass of ActiveSupport::HashWithIndifferentAccess where not only can Hash keys be queried as Symbols or Strings, but they are looked up in a case-insensitive fashion too.
During enumeration, Hash keys will always be returned in whatever case they were originally set.
Instance Method Summary collapse
Instance Method Details
#with_indifferent_case_insensitive_access ⇒ Object
55 56 57 |
# File 'lib/scimitar/support/hash_with_indifferent_case_insensitive_access.rb', line 55 def with_indifferent_case_insensitive_access self end |