class Stylus::Generators::AssetsGenerator

Public Instance Methods

copy_stylus() click to toggle source
# File lib/rails/generators/stylus/assets/assets_generator.rb, line 8
def copy_stylus
  template 'stylesheet.css.styl', File.join('app/assets/stylesheets', class_path, "#{file_name}.css.styl")
end