Class: Moult::Gate::Run

Inherits:
Struct
  • Object
show all
Defined in:
lib/moult/gate.rb

Overview

The outcome of one isolated analysis run (mirrors Health::Run).

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



24
25
26
# File 'lib/moult/gate.rb', line 24

def error
  @error
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



24
25
26
# File 'lib/moult/gate.rb', line 24

def value
  @value
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/moult/gate.rb', line 25

def ok?
  error.nil? && !value.nil?
end