Module: Consul::Controller::ClassMethods

Defined in:
lib/consul/controller.rb

Instance Method Summary collapse

Instance Method Details

#current_power_initializerObject



20
21
22
# File 'lib/consul/controller.rb', line 20

def current_power_initializer
  @current_power_initializer || (superclass.respond_to?(:current_power_initializer) && superclass.current_power_initializer)
end

#current_power_initializer=(initializer) ⇒ Object



24
25
26
# File 'lib/consul/controller.rb', line 24

def current_power_initializer=(initializer)
  @current_power_initializer = initializer
end