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, options: {})
click to toggle source
# File lib/percona_migrations/runners/base.rb, line 8 def initialize(table_name, commands, options: {}) @table_name = table_name @commands = commands @options = options end
Public Instance Methods
log(msg)
click to toggle source
# File lib/percona_migrations/runners/base.rb, line 18 def log(msg) logger.info(msg) if logger end
logger()
click to toggle source
# File lib/percona_migrations/runners/base.rb, line 22 def logger PerconaMigrations.logger end
run()
click to toggle source
# File lib/percona_migrations/runners/base.rb, line 14 def run raise NotImplementerError end