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.



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

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

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



26
27
28
# File 'lib/choosy/parse_result.rb', line 26

def args
  @args
end