Class: Guard::FonesTemplates
- Inherits:
-
Guard
- Object
- Guard
- Guard::FonesTemplates
- Defined in:
- lib/guard/fones/templates.rb
Instance Method Summary collapse
-
#initialize(watchers = [], options = {}) ⇒ FonesTemplates
constructor
A new instance of FonesTemplates.
- #run_all ⇒ Object
-
#run_on_change(paths) ⇒ Object
Called on file(s) modifications.
- #start ⇒ Object
Constructor Details
#initialize(watchers = [], options = {}) ⇒ FonesTemplates
Returns a new instance of FonesTemplates.
6 7 8 |
# File 'lib/guard/fones/templates.rb', line 6 def initialize(watchers=[], ={}) super end |
Instance Method Details
#run_all ⇒ Object
15 16 17 18 19 |
# File 'lib/guard/fones/templates.rb', line 15 def run_all UI.info "Rebuilding all templates" ::Fones::Guard.builder.clean_templates ::Fones::Guard.builder.copy_templates end |