Method: I18n::Railtie.watched_dirs_with_extensions

Defined in:
activesupport/lib/active_support/i18n_railtie.rb

.watched_dirs_with_extensions(paths) ⇒ Object



134
135
136
137
138
# File 'activesupport/lib/active_support/i18n_railtie.rb', line 134

def self.watched_dirs_with_extensions(paths)
  paths.each_with_object({}) do |path, result|
    result[path.absolute_current] = path.extensions
  end
end