class Totoro::InitGenerator

Public Instance Methods

copy_config_file() click to toggle source
# File lib/generators/totoro/init_generator.rb, line 8
def copy_config_file
  template 'create_totoro_failed_messages.rb', File.join('db/migrate', "#{Time.now.strftime('%Y%m%d%H%M%S')}_create_totoro_failed_messages.rb")
  template 'totoro.yml', File.join('config', 'totoro.yml')
  template 'initializer.rb', File.join('config/initializers', 'totoro.rb')
end