class ActiveGroonga::MigrationEntry
Attributes
path[R]
version[R]
Public Class Methods
new(migration, version, path)
click to toggle source
# File lib/active_groonga/migrator.rb, line 28 def initialize(migration, version, path) @migration = migration @version = version @path = path end
Public Instance Methods
migrate(direction, schema)
click to toggle source
# File lib/active_groonga/migrator.rb, line 38 def migrate(direction, schema) migration = @migration.new(@version, @path, schema) migration.migrate(direction) end
name()
click to toggle source
# File lib/active_groonga/migrator.rb, line 34 def name @migration.migration_name end