Class: I18n::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- I18n::Railtie
- 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, #railtie_namespace, rake_tasks, subclasses
Methods included from Rails::Initializable
included, #initializers, #run_initializers
Class Method Details
.reloader ⇒ Object
12 13 14 |
# File 'activesupport/lib/active_support/i18n_railtie.rb', line 12 def self.reloader @reloader ||= ActiveSupport::FileUpdateChecker.new(reloader_paths){ I18n.reload! } end |
.reloader_paths ⇒ Object
16 17 18 |
# File 'activesupport/lib/active_support/i18n_railtie.rb', line 16 def self.reloader_paths @reloader_paths ||= [] end |