class Pliny::Commands::Generator::Migration
Public Instance Methods
Source
# File lib/pliny/commands/generator/migration.rb, line 6 def create migration = "./db/migrate/#{Time.now.to_i}_#{name}.rb" write_template('migration.erb', migration) display "created migration #{migration}" end