Class: Dauft::Generators::LayoutGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Dauft::Generators::LayoutGenerator
- Defined in:
- lib/dauft/generators/layout_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_layout ⇒ Object
10 11 12 |
# File 'lib/dauft/generators/layout_generator.rb', line 10 def generate_layout template "layouts/#{file_name}.html.erb", "app/views/layouts/#{file_name}.html.erb" end |