Class: Guard::Tay
- Includes:
- Tay::CLI::Helpers
- Defined in:
- lib/guard/tay.rb
Instance Method Summary collapse
-
#initialize(watchers = [], options = {}) ⇒ Tay
constructor
A new instance of Tay.
-
#run_all ⇒ Object
Run all simply recompiles all the things.
-
#run_on_change(paths) ⇒ Object
Recompile the current extension when a file is changed.
-
#run_on_deletion(paths) ⇒ Object
Recompile the current extension when a file is deleted.
Constructor Details
#initialize(watchers = [], options = {}) ⇒ Tay
Returns a new instance of Tay.
10 11 12 13 |
# File 'lib/guard/tay.rb', line 10 def initialize(watchers = [], = {}) = () super end |
Instance Method Details
#run_all ⇒ Object
Run all simply recompiles all the things
17 18 19 |
# File 'lib/guard/tay.rb', line 17 def run_all build_extension end |
#run_on_change(paths) ⇒ Object
Recompile the current extension when a file is changed. If the Tayfile was changed, validate it too.
24 25 26 |
# File 'lib/guard/tay.rb', line 24 def run_on_change(paths) build_extension end |
#run_on_deletion(paths) ⇒ Object
Recompile the current extension when a file is deleted
30 31 32 |
# File 'lib/guard/tay.rb', line 30 def run_on_deletion(paths) build_extension end |