Sha256: f94a18ba99f8e999f7bb795480a79794f8806c74ca7a55b6077030f13980aaeb

Contents?: true

Size: 505 Bytes

Versions: 5

Compression:

Stored size: 505 Bytes

Contents

require 'rails/generators'

module SystemMetrics
  module Generators
    class InstallGenerator < Rails::Generators::Base

      desc "Install System Metrics public assets"

      source_root File.expand_path("../../../../../public", __FILE__)

      def copy_css_files
        directory "stylesheets", "public/stylesheets/system_metrics", :recursive => true
      end

      def copy_image_files
        directory "images", "public/images/system_metrics", :recursive => true
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
system-metrics-0.2.3 lib/generators/system_metrics/install/install_generator.rb
system-metrics-0.2.2 lib/generators/system_metrics/install/install_generator.rb
system-metrics-0.2.1 lib/generators/system_metrics/install/install_generator.rb
system-metrics-0.2.0 lib/generators/system_metrics/install/install_generator.rb
system-metrics-0.1.0 lib/generators/system_metrics/install/install_generator.rb