Class Haml::Generators::ApplicationLayoutGenerator
In: lib/rails/generators/haml/application_layout/application_layout_generator.rb
Parent: ::Rails::Generators::Base

Methods

convert  

Constants

HTML_LAYOUT_PATH = 'app/views/layouts/application.html.erb'
HAML_LAYOUT_PATH = 'app/views/layouts/application.html.haml'

Public Instance methods

Converts existing application.html.erb to haml format, and creates app/views/layouts/application.html.haml with some error checking.

[Validate]