class PerconaMigrations::Runners::Base
Public Class Methods
available?()
click to toggle source
# File lib/percona_migrations/runners/base.rb, line 4 def self.available? true end
new(table_name, commands)
click to toggle source
# File lib/percona_migrations/runners/base.rb, line 8 def initialize(table_name, commands) @table_name = table_name @commands = commands end
Public Instance Methods
log(msg)
click to toggle source
# File lib/percona_migrations/runners/base.rb, line 17 def log(msg) logger.info(msg) if logger end
logger()
click to toggle source
# File lib/percona_migrations/runners/base.rb, line 21 def logger PerconaMigrations.logger end
run()
click to toggle source
# File lib/percona_migrations/runners/base.rb, line 13 def run raise NotImplementerError end