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