Module: Lite::Command::Internals::Executions

Defined in:
lib/lite/command/internals/executions.rb

Instance Method Summary collapse

Instance Method Details

#executed?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/lite/command/internals/executions.rb', line 20

def executed?
  complete? || interrupted?
end

#stateObject



16
17
18
# File 'lib/lite/command/internals/executions.rb', line 16

def state
  @state || PENDING
end