Class: Testprune::Analysis::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/testprune/analysis.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detector_resultObject

Returns the value of attribute detector_result

Returns:

  • (Object)

    the current value of detector_result



13
14
15
# File 'lib/testprune/analysis.rb', line 13

def detector_result
  @detector_result
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



13
14
15
# File 'lib/testprune/analysis.rb', line 13

def index
  @index
end

#runObject

Returns the value of attribute run

Returns:

  • (Object)

    the current value of run



13
14
15
# File 'lib/testprune/analysis.rb', line 13

def run
  @run
end

#savingsObject

Returns the value of attribute savings

Returns:

  • (Object)

    the current value of savings



13
14
15
# File 'lib/testprune/analysis.rb', line 13

def savings
  @savings
end

Instance Method Details

#ambient_unitsObject



17
# File 'lib/testprune/analysis.rb', line 17

def ambient_units    = detector_result.ambient_units

#approved_removalsObject



15
# File 'lib/testprune/analysis.rb', line 15

def approved_removals = detector_result.approved_removals

#candidatesObject



14
# File 'lib/testprune/analysis.rb', line 14

def candidates       = detector_result.candidates

#label_for(id) ⇒ Object



16
# File 'lib/testprune/analysis.rb', line 16

def label_for(id)    = index.label_for(id)

#setup_onlyObject



18
# File 'lib/testprune/analysis.rb', line 18

def setup_only       = detector_result.setup_only