Class: Scss::Generators::AssetsGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/rails/generators/scss/assets/assets_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_scssObject



8
9
10
# File 'lib/rails/generators/scss/assets/assets_generator.rb', line 8

def copy_scss
  template "stylesheet.css.scss", File.join('app/assets/stylesheets', class_path, "#{file_name}.css.scss")
end