Class: Guard::RSpec::Command
- Inherits:
-
String
- Object
- String
- Guard::RSpec::Command
- Defined in:
- lib/guard/rspec/command.rb
Constant Summary collapse
- FAILURE_EXIT_CODE =
2
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.
13 14 15 16 17 |
# File 'lib/guard/rspec/command.rb', line 13 def initialize(paths, = {}) @paths = paths @options = super(_parts.join(" ")) end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
11 12 13 |
# File 'lib/guard/rspec/command.rb', line 11 def @options end |
#paths ⇒ Object
Returns the value of attribute paths.
11 12 13 |
# File 'lib/guard/rspec/command.rb', line 11 def paths @paths end |