Class: Arturo::AssetsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Arturo::AssetsGenerator
- Defined in:
- lib/generators/arturo/assets_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
5 6 7 |
# File 'lib/generators/arturo/assets_generator.rb', line 5 def self.source_root File.join(File.dirname(__FILE__), 'templates') end |
Instance Method Details
#copy_assets ⇒ Object
9 10 11 12 13 14 |
# File 'lib/generators/arturo/assets_generator.rb', line 9 def copy_assets copy_file 'arturo.css', 'public/stylesheets/arturo.css', :force => true copy_file 'arturo_customizations.css', 'public/stylesheets/arturo_customizations.css', :skip => true copy_file 'arturo.js', 'public/javascripts/arturo.js' copy_file 'semicolon.png', 'public/images/semicolon.png' end |