instance method
namespaced_path
Ruby on Rails 4.2.9
Since v4.0.13 Last seen in v4.2.9Signature
namespaced_path()
No documentation comment.
Source
# File railties/lib/rails/generators/named_base.rb, line 97
def namespaced_path
@namespaced_path ||= namespace.name.split("::").first.underscore
end
Defined in railties/lib/rails/generators/named_base.rb line 97
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::NamedBase