Class: CmdParse::LeftRecursive

Inherits:
Object
  • Object
show all
Defined in:
app/cmd_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detected = false) ⇒ LeftRecursive

Returns a new instance of LeftRecursive.



177
178
179
# File 'app/cmd_parser.rb', line 177

def initialize(detected=false)
  @detected = detected
end

Instance Attribute Details

#detectedObject

Returns the value of attribute detected.



181
182
183
# File 'app/cmd_parser.rb', line 181

def detected
  @detected
end