Class: Urist::Base
- Inherits:
-
Object
- Object
- Urist::Base
- Defined in:
- lib/urist/base.rb
Instance Attribute Summary collapse
-
#runner ⇒ Object
Returns the value of attribute runner.
Instance Method Summary collapse
-
#go! ⇒ Object
starts script execution.
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
-
#logs ⇒ Object
returns all results from all performed scenarios.
-
#scenarios ⇒ Object
returns all performed scenarios.
Constructor Details
Instance Attribute Details
#runner ⇒ Object
Returns the value of attribute runner.
3 4 5 |
# File 'lib/urist/base.rb', line 3 def runner @runner end |
Instance Method Details
#go! ⇒ Object
starts script execution
10 11 12 |
# File 'lib/urist/base.rb', line 10 def go! @runner.go! end |
#logs ⇒ Object
returns all results from all performed scenarios
20 21 22 |
# File 'lib/urist/base.rb', line 20 def logs @runner.log end |
#scenarios ⇒ Object
returns all performed scenarios
15 16 17 |
# File 'lib/urist/base.rb', line 15 def scenarios @runner.done_scenarios end |