Class: Guard::Stitch
Instance Method Summary collapse
-
#initialize(watchers = [], options = {}) ⇒ Stitch
constructor
A new instance of Stitch.
- #reload ⇒ Object
- #run_all ⇒ Object
- #run_on_change(paths) ⇒ Object
- #start ⇒ Object
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 = [], = {}) super(watchers, ) @root = .delete(:root) @paths = .delete(:paths) @files = .delete(:files) @dependencies = .delete(:dependencies) @output = .delete(:output) end |
Instance Method Details
#reload ⇒ Object
22 23 24 |
# File 'lib/guard/stitch.rb', line 22 def reload stitch end |
#run_all ⇒ Object
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 |
#start ⇒ Object
18 19 20 |
# File 'lib/guard/stitch.rb', line 18 def start stitch end |