class Thor::CoreExt::HashWithIndifferentAccess

Public Instance Methods

fetch(key, default = nil) click to toggle source
Calls superclass method
# File lib/berkshelf/thor_ext/hash_with_indifferent_access.rb, line 8
def fetch(key, default = nil)
  if default
    super(convert_key(key), default)
  else
    super(convert_key(key))
  end
end
has_key?(key) click to toggle source
Calls superclass method
# File lib/berkshelf/thor_ext/hash_with_indifferent_access.rb, line 4
def has_key?(key)
  super(convert_key(key))
end