Method: Experiment::Runner#initialize

Defined in:
lib/experiment/runner.rb

#initialize(arg, opt) ⇒ Runner

If you are using this programmatically you need to set these params correctly:

Parameters:

  • arg (Array<String>)

    Typically the name of the experiment the operation needs to operate on.

  • opt (Struct, OpenStruct)

    an options object that should respond according to the CLI.



18
19
20
# File 'lib/experiment/runner.rb', line 18

def initialize(arg, opt)
  @arguments, @options = arg, opt
end