Class: ParticleCMD::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/particlecmd/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeResult

Returns a new instance of Result.



4
5
6
7
8
9
# File 'lib/particlecmd/result.rb', line 4

def initialize
  @extra       = []
  @positionals = {}
  @flags       = {}
  @options     = {}
end

Instance Attribute Details

#extraObject

Returns the value of attribute extra.



2
3
4
# File 'lib/particlecmd/result.rb', line 2

def extra
  @extra
end

#flagsObject

Returns the value of attribute flags.



2
3
4
# File 'lib/particlecmd/result.rb', line 2

def flags
  @flags
end

#optionsObject

Returns the value of attribute options.



2
3
4
# File 'lib/particlecmd/result.rb', line 2

def options
  @options
end

#positionalsObject

Returns the value of attribute positionals.



2
3
4
# File 'lib/particlecmd/result.rb', line 2

def positionals
  @positionals
end