class DataMaintenanceGenerator

Public Instance Methods

create_data_maintenance_file() click to toggle source
# File lib/generators/data_maintenance/data_maintenance_generator.rb, line 5
def create_data_maintenance_file
  template "data_maintenance.erb", File.join('db/maintenances', "#{file_name}.rb")
end