Method: Rails::Generator::Commands::List#migration_template

Defined in:
lib/rails_generator/commands.rb

#migration_template(relative_source, relative_destination, options = {}) ⇒ Object



571
572
573
574
# File 'lib/rails_generator/commands.rb', line 571

def migration_template(relative_source, relative_destination, options = {})
  migration_directory relative_destination
  logger.migration_template file_name
end