Class: Vicary::Gates::GateMeasurement

Inherits:
Struct
  • Object
show all
Defined in:
lib/vicary/gates.rb

Overview

value is nil when this port does not measure the gate — never 0, which would read as a measured failure. bar is the one actually applied — the gate's default unless the measured corpus has an override. Carried here rather than re-derived by the renderer, so what is printed cannot drift from what was compared.

Instance Attribute Summary collapse

Instance Attribute Details

#barObject

Returns the value of attribute bar

Returns:

  • (Object)

    the current value of bar



84
85
86
# File 'lib/vicary/gates.rb', line 84

def bar
  @bar
end

#detailObject

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



84
85
86
# File 'lib/vicary/gates.rb', line 84

def detail
  @detail
end

#gateObject

Returns the value of attribute gate

Returns:

  • (Object)

    the current value of gate



84
85
86
# File 'lib/vicary/gates.rb', line 84

def gate
  @gate
end

#passedObject

Returns the value of attribute passed

Returns:

  • (Object)

    the current value of passed



84
85
86
# File 'lib/vicary/gates.rb', line 84

def passed
  @passed
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



84
85
86
# File 'lib/vicary/gates.rb', line 84

def value
  @value
end