Class: Guard::I18nJS
- Defined in:
- lib/guard/i18n_js.rb,
lib/guard/i18n-js/notifier.rb
Defined Under Namespace
Classes: Notifier
Instance Method Summary collapse
- #reload ⇒ Object
- #run_all ⇒ Object
- #run_on_additions(paths = []) ⇒ Object
- #run_on_modifications(paths = []) ⇒ Object
- #start ⇒ Object
- #stop ⇒ Object
Instance Method Details
#reload ⇒ Object
13 14 15 |
# File 'lib/guard/i18n_js.rb', line 13 def reload refresh_translations end |
#run_all ⇒ Object
17 18 19 |
# File 'lib/guard/i18n_js.rb', line 17 def run_all true end |
#run_on_additions(paths = []) ⇒ Object
25 26 27 |
# File 'lib/guard/i18n_js.rb', line 25 def run_on_additions(paths = []) refresh_translations end |
#run_on_modifications(paths = []) ⇒ Object
29 30 31 |
# File 'lib/guard/i18n_js.rb', line 29 def run_on_modifications(paths = []) refresh_translations end |
#start ⇒ Object
9 10 11 |
# File 'lib/guard/i18n_js.rb', line 9 def start refresh_translations end |
#stop ⇒ Object
21 22 23 |
# File 'lib/guard/i18n_js.rb', line 21 def stop true end |