Class: Kumi::Dev::Runner::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/kumi/dev/runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



6
7
8
# File 'lib/kumi/dev/runner.rb', line 6

def errors
  @errors
end

#irObject

Returns the value of attribute ir

Returns:

  • (Object)

    the current value of ir



6
7
8
# File 'lib/kumi/dev/runner.rb', line 6

def ir
  @ir
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



6
7
8
# File 'lib/kumi/dev/runner.rb', line 6

def state
  @state
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/kumi/dev/runner.rb', line 7

def ok?
  errors.empty?
end