instance method
copy_stylesheet
Ruby on Rails 3.2.22.5
Since v3.1.12 Last seen in v3.2.22.5Available in: v3.1.12 v3.2.22.5
Signature
copy_stylesheet()
No documentation comment.
Source
# File railties/lib/rails/generators/css/assets/assets_generator.rb, line 8
def copy_stylesheet
copy_file "stylesheet.css", File.join('app/assets/stylesheets', class_path, "#{file_name}.css")
end
Defined in railties/lib/rails/generators/css/assets/assets_generator.rb line 8
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Css::Generators::AssetsGenerator