Class: Guard::Test::Command

Inherits:
String
  • Object
show all
Defined in:
lib/guard/test/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options = {})
  @paths = paths
  @options = options
  super(_parts.join(' '))
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



5
6
7
# File 'lib/guard/test/command.rb', line 5

def options
  @options
end

#pathsObject

Returns the value of attribute paths.



5
6
7
# File 'lib/guard/test/command.rb', line 5

def paths
  @paths
end