class RailsNewApp::TemplateEngineProcessor

Public Instance Methods

update_gemfile(config) click to toggle source
# File lib/rails-new-app/processors/template_engine_processor.rb, line 3
def update_gemfile(config)
  case config[:template_engine][:key]
  when "slim" then apply_template "slim-gemfile"
  when "haml" then apply_template "haml-gemfile"
  end
end