Class: Guard::Stendhal
- Inherits:
-
Guard
- Object
- Guard
- Guard::Stendhal
show all
- Defined in:
- lib/guard/stendhal.rb,
lib/guard/stendhal/runner.rb,
lib/guard/stendhal/inspector.rb
Defined Under Namespace
Modules: Inspector, Runner
Instance Method Summary
collapse
Instance Method Details
#run_all ⇒ Object
10
11
12
|
# File 'lib/guard/stendhal.rb', line 10
def run_all
Runner.run [""], options.merge(:message => "Running all specs")
end
|
#run_on_change(paths) ⇒ Object
14
15
16
17
|
# File 'lib/guard/stendhal.rb', line 14
def run_on_change(paths)
paths = Inspector.clean(paths)
Runner.run(paths, options) unless paths.empty?
end
|