Class: Wallaby::ApplicationGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Wallaby::ApplicationGenerator
- Defined in:
- lib/generators/wallaby/engine/application_generator.rb
Overview
base generator
Direct Known Subclasses
Engine::AuthorizerGenerator, Engine::ControllerGenerator, Engine::DecoratorGenerator, Engine::PaginatorGenerator, Engine::ServicerGenerator
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
9 10 11 |
# File 'lib/generators/wallaby/engine/application_generator.rb', line 9 def install template "#{base_name}.rb.erb", "app/#{base_name}s/#{name}_#{base_name}.rb" end |