instance method namespace_dirs

Ruby on Rails 5.1.7

Since v5.0.7.2 Last seen in v5.1.7 Private — implementation detail, not part of the public API

Available in: v5.0.7.2 v5.1.7

Signature

namespace_dirs()

No documentation comment.

Source
# File railties/lib/rails/generators/named_base.rb, line 85
        def namespace_dirs
          @namespace_dirs ||= namespace.name.split("::").map(&:underscore)
        end

Defined in railties/lib/rails/generators/named_base.rb line 85 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::NamedBase

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