class MotherBrain::Plugin::CleanRoom
@api private
Public Instance Methods
cluster_bootstrap(&block)
click to toggle source
# File lib/mb/plugin.rb, line 307 def cluster_bootstrap(&block) MB.log.warn "#{real_model}: cluster_bootstrap is now stack_order, and will be removed in motherbrain 1.0" stack_order(&block) end
command(name, &block)
click to toggle source
@param [#to_s] name
# File lib/mb/plugin.rb, line 294 def command(name, &block) real_model.add_command Command.new(name, real_model, &block) end
component(name, &block)
click to toggle source
@param [#to_s] name
# File lib/mb/plugin.rb, line 299 def component(name, &block) real_model.add_component Component.new(name, real_model, &block) end
stack_order(&block)
click to toggle source
# File lib/mb/plugin.rb, line 303 def stack_order(&block) real_model.bootstrap_routine = Bootstrap::Routine.new(real_model, &block) end