Migration class used by the Sequel.migration DSL, using instances for each migration, unlike the Migration class, which uses subclasses for each migration. Part of the migration extension.
Apply the appropriate block on the Database instance using instance_eval.
# File lib/sequel/extensions/migration.rb, line 88 88: def apply(db, direction) 89: raise(ArgumentError, "Invalid migration direction specified (#{direction.inspect})") unless [:up, :down].include?(direction) 90: if prok = send(direction) 91: db.instance_eval(&prok) 92: end 93: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.