Class: Html5::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Html5::Generators::InstallGenerator
- Defined in:
- lib/generators/html5/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_extras ⇒ Object
14 15 16 |
# File 'lib/generators/html5/install/install_generator.rb', line 14 def copy_extras directory "public", "public" end |
#copy_stylesheets ⇒ Object
10 11 12 |
# File 'lib/generators/html5/install/install_generator.rb', line 10 def copy_stylesheets directory "assets", "app/assets" end |
#copy_views ⇒ Object
6 7 8 |
# File 'lib/generators/html5/install/install_generator.rb', line 6 def copy_views directory "views", "app/views" end |
#show_readme ⇒ Object
18 19 20 |
# File 'lib/generators/html5/install/install_generator.rb', line 18 def show_readme readme "README" if behavior == :invoke end |