Class: Diddy::RunResult::Script
- Inherits:
-
Object
- Object
- Diddy::RunResult::Script
- Defined in:
- lib/diddy/run_result.rb
Overview
helper classes
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#scenarios ⇒ Object
Returns the value of attribute scenarios.
Instance Method Summary collapse
-
#initialize(description) ⇒ Script
constructor
A new instance of Script.
- #result ⇒ Object
Constructor Details
#initialize(description) ⇒ Script
Returns a new instance of Script.
80 81 82 |
# File 'lib/diddy/run_result.rb', line 80 def initialize(description) self.description = description end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
78 79 80 |
# File 'lib/diddy/run_result.rb', line 78 def description @description end |
#scenarios ⇒ Object
Returns the value of attribute scenarios.
78 79 80 |
# File 'lib/diddy/run_result.rb', line 78 def scenarios @scenarios end |
Instance Method Details
#result ⇒ Object
88 89 90 |
# File 'lib/diddy/run_result.rb', line 88 def result scenarios.all? { |scenario| scenario.result } end |