Class: GoldenRose::ResultsFilterer
- Inherits:
-
Object
- Object
- GoldenRose::ResultsFilterer
- Defined in:
- lib/golden_rose/results_filterer.rb
Defined Under Namespace
Classes: Results
Instance Attribute Summary collapse
-
#parsed_plist ⇒ Object
Returns the value of attribute parsed_plist.
-
#results ⇒ Object
Returns the value of attribute results.
Instance Method Summary collapse
- #filter! ⇒ Object
-
#initialize(parsed_plist) ⇒ ResultsFilterer
constructor
A new instance of ResultsFilterer.
Constructor Details
#initialize(parsed_plist) ⇒ ResultsFilterer
Returns a new instance of ResultsFilterer.
8 9 10 |
# File 'lib/golden_rose/results_filterer.rb', line 8 def initialize(parsed_plist) @parsed_plist = parsed_plist end |
Instance Attribute Details
#parsed_plist ⇒ Object
Returns the value of attribute parsed_plist.
6 7 8 |
# File 'lib/golden_rose/results_filterer.rb', line 6 def parsed_plist @parsed_plist end |
#results ⇒ Object
Returns the value of attribute results.
6 7 8 |
# File 'lib/golden_rose/results_filterer.rb', line 6 def results @results end |
Instance Method Details
#filter! ⇒ Object
12 13 14 15 16 |
# File 'lib/golden_rose/results_filterer.rb', line 12 def filter! raise GeneratingError, "Testable summaries not present." unless testable_summaries raise GeneratingError, "Tests not present." unless tests @results = Results.new(execution_details, items) end |