Class: KPeg::Parser::LeftRecursive
- Inherits:
-
Object
- Object
- KPeg::Parser::LeftRecursive
- Defined in:
- lib/kpeg/parser.rb
Instance Attribute Summary collapse
-
#detected ⇒ Object
Returns the value of attribute detected.
Instance Method Summary collapse
-
#initialize(detected = false) ⇒ LeftRecursive
constructor
A new instance of LeftRecursive.
Constructor Details
#initialize(detected = false) ⇒ LeftRecursive
Returns a new instance of LeftRecursive.
50 51 52 |
# File 'lib/kpeg/parser.rb', line 50 def initialize(detected=false) @detected = detected end |
Instance Attribute Details
#detected ⇒ Object
Returns the value of attribute detected.
54 55 56 |
# File 'lib/kpeg/parser.rb', line 54 def detected @detected end |