Module: ConfigStruct::HashInitializer

Defined in:
lib/configurable/config_struct.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#initialize(*args) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/configurable/config_struct.rb', line 6

def initialize(*args)
  hash_args = args.extract_options!
  super(*args)
  for k,v in hash_args
    self[k] = v
  end
end