Sha256: 253f193b4739e1340184505a2b68019eae95afb96720e99ee226b806f9d1954b
Contents?: true
Size: 496 Bytes
Versions: 8
Compression:
Stored size: 496 Bytes
Contents
require 'rails/generators/base' require 'rails/generators/resource_helpers' module C80Push module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def create_root_folder # empty_directory 'app/helpers/c80_yax' end def copy_template_file template 'seeds/c80_push_02_fill_presets.rb', File.join('db/seeds', 'c80_push_02_fill_presets.rb') end end end end
Version data entries
8 entries across 8 versions & 1 rubygems