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