Class: I18n::Railtie

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

Constant Summary

Constants inherited from Rails::Railtie

Rails::Railtie::ABSTRACT_RAILTIES

Class Method Summary collapse

Methods inherited from Rails::Railtie

abstract_railtie?, #config, console, #eager_load!, generators, inherited, #load_console, #load_generators, #load_tasks, railtie_name, rake_tasks, subclasses

Methods included from Rails::Initializable

included, #initializers, #run_initializers

Class Method Details

.reloaderObject



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

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