Class: Totoro::UpdateGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/totoro/update_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_config_fileObject



8
9
10
# File 'lib/generators/totoro/update_generator.rb', line 8

def copy_config_file
  template 'update_totoro_failed_messages.rb', File.join('db/migrate', "#{Time.now.strftime('%Y%m%d%H%M%S')}_update_totoro_failed_messages.rb")
end