Class: Guard::Spinach

Inherits:
Plugin
  • Object
show all
Defined in:
lib/guard/spinach.rb,
lib/guard/spinach/runner.rb

Defined Under Namespace

Classes: Runner

Instance Method Summary collapse

Instance Method Details

#run_allObject



10
11
12
# File 'lib/guard/spinach.rb', line 10

def run_all
  Runner.new([], @options).run
end

#run_on_change(paths) ⇒ Object



14
15
16
# File 'lib/guard/spinach.rb', line 14

def run_on_change(paths)
  Runner.new(paths, @options).run
end

#startObject



6
7
8
# File 'lib/guard/spinach.rb', line 6

def start
  run_all if @options[:all_on_start]
end