method
generator_name
v3.0.0 -
Show latest stable
- Class:
Rails::Generators::Base
generator_name()protected
Removes the namespaces and get the generator name. For example, Rails::Generators::ModelGenerator will return "model" as generator name.