instance method
singular_name
Ruby on Rails 7.0.10
Since v4.0.13 PrivateSignature
singular_name()
FIXME: We are avoiding to use alias because a bug on thor that make this method public and add it to the task list.
Source
# File railties/lib/rails/generators/named_base.rb, line 39
def singular_name # :doc:
file_name
end
Defined in railties/lib/rails/generators/named_base.rb line 39
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::NamedBase