class method self.watched_dirs_with_extensions

Ruby on Rails 5.0.7.2

Since v5.0.7.2 Last seen in v5.0.7.2

Signature

self.watched_dirs_with_extensions(paths)

No documentation comment.

Parameters

paths req
Source
# File activesupport/lib/active_support/i18n_railtie.rb, line 109
    def self.watched_dirs_with_extensions(paths)
      paths.each_with_object({}) do |path, result|
        result[path.absolute_current] = path.extensions
      end
    end

Defined in activesupport/lib/active_support/i18n_railtie.rb line 109 · View on GitHub · Improve this page · Find usages on GitHub

Defined in I18n::Railtie

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close