Module: Cqslight::Command

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::Model
Defined in:
lib/cqslight/command.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#runObject

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/cqslight/command.rb', line 13

def run
  raise NotImplementedError
end

#success?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/cqslight/command.rb', line 17

def success?
  errors.none?
end