Class: Choosy::ParseResult

Inherits:
BaseParseResult show all
Defined in:
lib/choosy/parse_result.rb

Instance Attribute Summary collapse

Attributes inherited from BaseParseResult

#command, #options, #unparsed

Instance Method Summary collapse

Methods inherited from BaseParseResult

#[], #[]=, #subresult?

Constructor Details

#initialize(command, subresult) ⇒ ParseResult

Returns a new instance of ParseResult.



30
31
32
33
# File 'lib/choosy/parse_result.rb', line 30

def initialize(command, subresult)
  super(command, subresult)
  @args = []
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



28
29
30
# File 'lib/choosy/parse_result.rb', line 28

def args
  @args
end