Class: L43Peg::Success
- Inherits:
-
Object
- Object
- L43Peg::Success
- Extended by:
- L43::OpenObject
- Defined in:
- lib/l43_peg/success.rb
Instance Method Summary collapse
Instance Method Details
#debug ⇒ Object
11 12 13 14 15 16 |
# File 'lib/l43_peg/success.rb', line 11 def debug "Success<" + [ "ast:#{ast.inspect}", "parsed:#{parsed.inspect}", "rest:#{rest.src.inspect}" ].join(" ") + ">" end |
#deconstruct ⇒ Object
25 |
# File 'lib/l43_peg/success.rb', line 25 def deconstruct(*) = [:ok, ast, rest] |