Sha256: ee3e5a8ee788314302e93d79bd5b207fa2174e069285e758fee543dc7273fc85
Contents?: true
Size: 608 Bytes
Versions: 10
Compression:
Stored size: 608 Bytes
Contents
require 'securerandom' require 'rails/generators' require 'rails/generators/migration' module Gmpoint module Generators class InstallGenerator < Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path("../../templates", __FILE__) desc "Creates a Config file and copy locate files to your application." class_option :orm def copy_jsfile ["locations.js.coffee"].each do |file| copy_file "../../../app/assets/javascripts/#{file}", "app/assets/javascripts/#{file}" end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems