Method: Configurable#initialize

Defined in:
lib/configurable.rb

#initialize(*args) ⇒ Object

Initializes config, if necessary, and then calls super. If initialize is overridden without calling super, be sure to call initialize_config manually within the new initialize method.



148
149
150
151
# File 'lib/configurable.rb', line 148

def initialize(*args)
  initialize_config unless instance_variable_defined?(:@config)
  super
end