class Suspenders::StylesheetBaseGenerator

Public Instance Methods

add_css_config() click to toggle source
# File lib/suspenders/generators/stylesheet_base_generator.rb, line 5
def add_css_config
  copy_file(
    "application.sass",
    "app/assets/stylesheets/application.sass",
    force: true,
  )
end
install_normalize_css() click to toggle source
# File lib/suspenders/generators/stylesheet_base_generator.rb, line 17
def install_normalize_css
  run "bin/yarn add normalize.css"
end
remove_prior_config() click to toggle source
# File lib/suspenders/generators/stylesheet_base_generator.rb, line 13
def remove_prior_config
  remove_file "app/assets/stylesheets/application.css"
end