Module: Cybele::Helpers::Haml

Included in:
AppBuilder
Defined in:
lib/cybele/helpers/haml.rb

Instance Method Summary collapse

Instance Method Details

#add_haml_gemsObject



12
13
14
15
# 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_hamlObject



6
7
8
9
10
# 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