Class: PerconaMigrator::UserOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/percona_migrator/user_options.rb

Overview

Encapsulates the pt-online-schema-change options defined by the user

Instance Method Summary collapse

Constructor Details

#initialize(arguments = ENV['PERCONA_ARGS']) ⇒ UserOptions

Constructor

Parameters:

  • arguments (String) (defaults to: ENV['PERCONA_ARGS'])


9
10
11
# File 'lib/percona_migrator/user_options.rb', line 9

def initialize(arguments = ENV['PERCONA_ARGS'])
  @arguments = arguments
end