Class: Specdown::Command
- Inherits:
-
Object
- Object
- Specdown::Command
- Includes:
- Hook
- Defined in:
- lib/specdown/command.rb
Instance Attribute Summary collapse
-
#readmes ⇒ Object
readonly
Returns the value of attribute readmes.
Instance Method Summary collapse
- #execute ⇒ Object
- #execute_with_hooks ⇒ Object
-
#initialize ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize ⇒ Command
Returns a new instance of Command.
7 8 9 |
# File 'lib/specdown/command.rb', line 7 def initialize @readmes = [] end |
Instance Attribute Details
#readmes ⇒ Object (readonly)
Returns the value of attribute readmes.
5 6 7 |
# File 'lib/specdown/command.rb', line 5 def readmes @readmes end |
Instance Method Details
#execute ⇒ Object
18 19 20 21 22 |
# File 'lib/specdown/command.rb', line 18 def execute load_test_environment run end |
#execute_with_hooks ⇒ Object
11 12 13 14 15 |
# File 'lib/specdown/command.rb', line 11 def execute_with_hooks execute exit exit_status end |