Class: PlanMyStuff::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- PlanMyStuff::Generators::ViewsGenerator
- Defined in:
- lib/generators/plan_my_stuff/views/views_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_views ⇒ void
This method returns an undefined value.
9 10 11 |
# File 'lib/generators/plan_my_stuff/views/views_generator.rb', line 9 def copy_views directory('.', 'app/views/plan_my_stuff') end |
#show_done ⇒ void
This method returns an undefined value.
14 15 16 17 18 19 |
# File 'lib/generators/plan_my_stuff/views/views_generator.rb', line 14 def show_done say('') say('PlanMyStuff views copied to app/views/plan_my_stuff/.', :green) say('You can now customize these templates to match your app.', :yellow) say('') end |