Rails::Generators::NamedBase
# File lib/rails/generators/less/scaffold/scaffold_generator.rb, line 9 def copy_stylesheet file = File.join ::Rails::Generators::ScaffoldGenerator.source_root, 'scaffold.css' css = Less::Parser.new.parse(File.read(file)).to_css create_file "app/assets/stylesheets/scaffolds.css.less", css end
Generated with the Darkfish Rdoc Generator 2.