Class: MotherBrain::Command::CleanRoom Private

Inherits:
MotherBrain::CleanRoomBase show all
Defined in:
lib/mb/command.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods inherited from MotherBrain::CleanRoomBase

dsl_attr_writer, #initialize

Methods included from Logging

add_argument_header, dev, filename, #log_exception, logger, #logger, reset, set_logger, setup

Constructor Details

This class inherits a constructor from MotherBrain::CleanRoomBase

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class MotherBrain::CleanRoomBase

Instance Method Details

#execute(&block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



83
84
85
# File 'lib/mb/command.rb', line 83

def execute(&block)
  real_model.execute = block
end