Class: Raif::CLI::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/raif/cli/base.rb

Direct Known Subclasses

Evals, EvalsSetup

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = []) ⇒ Base

Returns a new instance of Base.



8
9
10
11
# File 'lib/raif/cli/base.rb', line 8

def initialize(args = [])
  @args = args
  @options = {}
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



6
7
8
# File 'lib/raif/cli/base.rb', line 6

def args
  @args
end

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/raif/cli/base.rb', line 6

def options
  @options
end