instance method
stylesheets
Ruby on Rails 3.1.12
Since v3.1.12Signature
stylesheets()
No documentation comment.
Source
# File railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb, line 108
def stylesheets
if mountable?
copy_file "#{app_templates_dir}/app/assets/stylesheets/application.css",
"app/assets/stylesheets/#{name}/application.css"
elsif full?
empty_directory_with_gitkeep "app/assets/stylesheets/#{name}"
end
end
Defined in railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb line 108
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::PluginBuilder