Class: PiccoBlog::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- PiccoBlog::Generators::ViewsGenerator
- Includes:
- Thor::Actions
- Defined in:
- lib/generators/picco_blog/views/views_generator.rb
Instance Method Summary collapse
-
#copy_views ⇒ Object
Copy all of the views from the picco_blog/app/views/picco_blog to app/views/picco_blog.
Instance Method Details
#copy_views ⇒ Object
Copy all of the views from the picco_blog/app/views/picco_blog to app/views/picco_blog
13 14 15 |
# File 'lib/generators/picco_blog/views/views_generator.rb', line 13 def copy_views directory 'picco_blog', 'app/views/picco_blog' end |