module Cybele::Helpers::Haml

Public Instance Methods

add_haml_gems() click to toggle source
# File lib/cybele/helpers/haml.rb, line 12
def add_haml_gems
  # Add Gems
  append_file('Gemfile', template_content('haml/haml_Gemfile.erb'))
end
configure_haml() click to toggle source
# File lib/cybele/helpers/haml.rb, line 6
def configure_haml
  # Add initializers
  bundle_command 'exec rails generate haml:application_layout convert'
  remove_file 'app/views/layouts/application.html.erb'
end