Class: Prospecto::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Prospecto::InstallGenerator
- Defined in:
- lib/generators/prospecto/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#write_application_presenter ⇒ Object
5 6 7 |
# File 'lib/generators/prospecto/install/install_generator.rb', line 5 def write_application_presenter template 'application_presenter.rb', "app/presenters/application_presenter.rb" end |
#write_application_presenter_spec ⇒ Object
9 10 11 |
# File 'lib/generators/prospecto/install/install_generator.rb', line 9 def write_application_presenter_spec template 'application_presenter_spec.rb', "spec/presenters/application_presenter_spec.rb" end |