Class: SystemMetrics::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/system_metrics/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_css_filesObject



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_filesObject



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