class Preseason::Recipe::Bourbon

Public Instance Methods

add_neat() click to toggle source
# File lib/preseason/recipe/bourbon.rb, line 13
def add_neat
  insert_into_file 'app/assets/stylesheets/application.scss', after: "@import 'bourbon';\n" do
    "@import 'neat';\n"
  end
end
configure_bourbon() click to toggle source
# File lib/preseason/recipe/bourbon.rb, line 7
def configure_bourbon
  remove_file 'app/assets/stylesheets/application.css'
  create_file 'app/assets/stylesheets/application.scss'
  append_to_file 'app/assets/stylesheets/application.scss', "@import 'bourbon';\n"
end
prepare() click to toggle source
# File lib/preseason/recipe/bourbon.rb, line 2
def prepare
  configure_bourbon
  add_neat
end