Class: Phase::CLI::Command

Inherits:
Object
  • Object
show all
Extended by:
Commander::Methods
Defined in:
lib/phase/cli/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args, options) ⇒ Command

Returns a new instance of Command.



11
12
13
14
# File 'lib/phase/cli/command.rb', line 11

def initialize(args, options)
  @args = args
  @options = options
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



9
10
11
# File 'lib/phase/cli/command.rb', line 9

def args
  @args
end

#optionsObject (readonly)

Returns the value of attribute options.



9
10
11
# File 'lib/phase/cli/command.rb', line 9

def options
  @options
end