Class: InquiriesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- InquiriesGenerator
- Extended by:
- ActiveRecord::Generators::Migration
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/inquiries_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_files(*args) ⇒ Object
10 11 12 13 |
# File 'lib/generators/inquiries_generator.rb', line 10 def copy_files(*args) migration_template 'create_inquiries.rb', 'db/migrate/create_inquiries.rb' copy_file 'inquiry.yml', 'config/inquiry.yml' end |