Class: Choosy::SuperParseResult

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) ⇒ SuperParseResult

Returns a new instance of SuperParseResult.



37
38
39
40
# File 'lib/choosy/parse_result.rb', line 37

def initialize(command)
  super(command, false)
  @subresults = []
end

Instance Attribute Details

#subresultsObject (readonly)

Returns the value of attribute subresults.



35
36
37
# File 'lib/choosy/parse_result.rb', line 35

def subresults
  @subresults
end