Class: SystemMetrics::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SystemMetrics::Generators::InstallGenerator
- Defined in:
- lib/generators/system_metrics/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_css_files ⇒ Object
11 12 13 |
# File 'lib/generators/system_metrics/install/install_generator.rb', line 11 def copy_css_files directory "stylesheets", "#{assets_path_for_rails_versions}/stylesheets/system_metrics", :recursive => true end |
#copy_image_files ⇒ Object
15 16 17 |
# File 'lib/generators/system_metrics/install/install_generator.rb', line 15 def copy_image_files directory "images", "#{assets_path_for_rails_versions}/images/system_metrics", :recursive => true end |