Class: Guard::I18nJS

Inherits:
Guard
  • Object
show all
Defined in:
lib/guard/i18n_js.rb,
lib/guard/i18n-js/notifier.rb

Defined Under Namespace

Classes: Notifier

Instance Method Summary collapse

Instance Method Details

#reloadObject



13
14
15
# File 'lib/guard/i18n_js.rb', line 13

def reload
  refresh_translations
end

#run_allObject



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

#startObject



9
10
11
# File 'lib/guard/i18n_js.rb', line 9

def start
  refresh_translations
end

#stopObject



21
22
23
# File 'lib/guard/i18n_js.rb', line 21

def stop
  true
end