Class: I18n::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/active_support/i18n_railtie.rb

Class Method Summary collapse

Class Method Details

.reloaderObject



13
14
15
# File 'lib/active_support/i18n_railtie.rb', line 13

def self.reloader
  @reloader ||= ActiveSupport::FileUpdateChecker.new([]){ I18n.reload! }
end