Sha256: 18a884722949adaa135d7fb32b4c8b119c8c24d6c064d65875b8a2cd49334947

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

module Mercury
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root Mercury::Engine.root

      desc "Installs Mercury into your application by copying the configuration file."

      def copy_config
        copy_file 'vendor/assets/javascripts/mercury.js', 'app/assets/javascripts/mercury.js'
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mercury-rails-0.2.0 lib/generators/mercury/install/install_generator.rb