Class: Guard::Stitch

Inherits:
Guard
  • Object
show all
Defined in:
lib/guard/stitch.rb

Instance Method Summary collapse

Constructor Details

#initialize(watchers = [], options = {}) ⇒ Stitch

Returns a new instance of Stitch.



9
10
11
12
13
14
# File 'lib/guard/stitch.rb', line 9

def initialize(watchers = [], options = {})
  super(watchers, options)
  @paths = options.delete(:paths)
  @dependencies = options.delete(:dependencies)
  @output = options.delete(:output)
end

Instance Method Details

#reloadObject



20
21
22
# File 'lib/guard/stitch.rb', line 20

def reload
  stitch
end

#run_allObject



24
25
26
# File 'lib/guard/stitch.rb', line 24

def run_all
  stitch
end

#run_on_change(paths) ⇒ Object



28
29
30
# File 'lib/guard/stitch.rb', line 28

def run_on_change(paths)
  stitch
end

#startObject



16
17
18
# File 'lib/guard/stitch.rb', line 16

def start
  stitch
end