class Mongration::Migrate::Up

@private

Private Instance Methods

after_text() click to toggle source
# File lib/mongration/migrate/up.rb, line 21
def after_text
  'migrated'
end
before_text() click to toggle source
# File lib/mongration/migrate/up.rb, line 17
def before_text
  'migrating'
end
migrate(file) click to toggle source
# File lib/mongration/migrate/up.rb, line 9
def migrate(file)
  file.up
end
persist(file) click to toggle source
# File lib/mongration/migrate/up.rb, line 13
def persist(file)
  Migration.create_by_file_name(file.file_name)
end