class Bundler::Thor::CoreExt::HashWithIndifferentAccess
def initialize(hash = {})
hash.foo? #=> true
hash['foo'] #=> 'bar'
hash[:foo] #=> 'bar'
hash = Bundler::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