instance method
namespaced_path
Ruby on Rails 4.0.13
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 95
def namespaced_path
@namespaced_path ||= namespace.name.split("::").map {|m| m.underscore }[0]
end
Defined in railties/lib/rails/generators/named_base.rb line 95
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::NamedBase