Class: HttpStub::HashWithIndifferentAndInsensitiveAccess

Inherits:
HashWithIndifferentAccess
  • Object
show all
Defined in:
lib/http_stub/hash_with_indifferent_and_insensitive_access.rb

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



5
6
7
# File 'lib/http_stub/hash_with_indifferent_and_insensitive_access.rb', line 5

def [](key)
  self.key?(key) ? super : insensitive_find(key)
end