Class: Guard::Test::Command
- Inherits:
-
String
- Object
- String
- Guard::Test::Command
- Defined in:
- lib/guard/test/command.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#paths ⇒ Object
Returns the value of attribute paths.
Instance Method Summary collapse
-
#initialize(paths, options = {}) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(paths, options = {}) ⇒ Command
Returns a new instance of Command.
7 8 9 10 11 |
# File 'lib/guard/test/command.rb', line 7 def initialize(paths, = {}) @paths = paths @options = super(_parts.join(' ')) end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/guard/test/command.rb', line 5 def @options end |
#paths ⇒ Object
Returns the value of attribute paths.
5 6 7 |
# File 'lib/guard/test/command.rb', line 5 def paths @paths end |