Sha256: cfa571b67bb5fce9be991169da2270d9966de86d83444317761ba910f716a2f6
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
require 'securerandom' require 'rails/generators' require 'rails/generators/migration' module RubyGallery module Generators class InstallGenerator < Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path("../../templates", __FILE__) desc "Creates a Congig file and copy locate files to your application." class_option :orm def copy_jsfile copy_file "../../../app/assets/javascripts/ruby_gallery.js", "app/assets/javascripts/ruby_gallery.js" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_gallery-0.1.1 | lib/generators/ruby_gallery/install_generator.rb |