class Thor::CoreExt::HashWithIndifferentAccess

def initialize(hash = {})

:nodoc:

hash.foo? #=> true
hash['foo'] #=> 'bar'
hash[:foo] #=> 'bar'

hash = Thor::CoreExt::HashWithIndifferentAccess.new 'foo' => 'bar', 'baz' => 'bee', 'force' => true

A hash with indifferent access and magic predicates.
:nodoc:
def initialize(hash = {})
  super()
  hash.each do |key, value|
    self[convert_key(key)] = value
  end
end