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


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

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

.reloader_pathsObject


16
17
18
# File 'lib/active_support/i18n_railtie.rb', line 16

def self.reloader_paths
  @reloader_paths ||= []
end