Method: Bundler::Thor::CoreExt::HashWithIndifferentAccess#initialize
- Defined in:
- lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
#initialize(hash = {}) ⇒ HashWithIndifferentAccess
:nodoc:
12 13 14 15 16 17 |
# File 'lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb', line 12 def initialize(hash = {}) super() hash.each do |key, value| self[convert_key(key)] = value end end |