Class: Theme::Generators::ThreeColPortfolioGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Theme::Generators::ThreeColPortfolioGenerator
- Defined in:
- lib/generators/theme/three_col_portfolio/three_col_portfolio_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_page ⇒ Object
10 11 12 13 |
# File 'lib/generators/theme/three_col_portfolio/three_col_portfolio_generator.rb', line 10 def create_page copy_file 'index.html', 'app/views/visitors/index.html.erb' copy_file '3-col-portfolio.css', 'app/assets/stylesheets/3-col-portfolio.css' end |