Sha256: 8f5a42c9e7307d14a5fb3cdf0a4c80f3e94b12ef4237ec265a0e04adf1c43932
Contents?: true
Size: 745 Bytes
Versions: 4
Compression:
Stored size: 745 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 def copy_cssfile copy_file "../../../app/assets/stylesheets/ruby_gallery.css.scss", "app/assets/stylesheets/ruby_gallery.css.scss" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems