Class: Easymin::Generators::LayoutGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Easymin::Generators::LayoutGenerator
- Defined in:
- lib/generators/easymin/layout/layout_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_layout ⇒ Object
9 10 11 12 13 |
# File 'lib/generators/easymin/layout/layout_generator.rb', line 9 def generate_layout path = "app/views/layouts" template 'easymin.haml', "#{path}/#{.name}.html.haml" end |