Method: Domainic::Command::InstanceMethods#execute

Defined in:
lib/domainic/command/instance_methods.rb

#executevoid

This method is abstract.

Subclass and override #execute to implement command behavior

This method returns an undefined value.

Executes the command's business logic

Raises:

  • (NotImplementedError)

    If the subclass does not implement #execute

Since:

  • 0.1.0



48
49
50
# File 'lib/domainic/command/instance_methods.rb', line 48

def execute
  raise NotImplementedError, "#{self.class} does not implement #execute"
end