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
15
16
# File 'lib/guard/stitch.rb', line 9

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

Instance Method Details

#reloadObject



22
23
24
# File 'lib/guard/stitch.rb', line 22

def reload
  stitch
end

#run_allObject



26
27
28
# File 'lib/guard/stitch.rb', line 26

def run_all
  stitch
end

#run_on_change(paths) ⇒ Object



30
31
32
# File 'lib/guard/stitch.rb', line 30

def run_on_change(paths)
  stitch
end

#startObject



18
19
20
# File 'lib/guard/stitch.rb', line 18

def start
  stitch
end