Module: EDNGRAMMAR::Number1
- Defined in:
- lib/parser/edngrammar.rb
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
466 467 468 469 470 471 472 473 474 |
# File 'lib/parser/edngrammar.rb', line 466 def ast val = elements[0].ast if ei = spec.text_value[1..-1] # warn "*** implementing encoding indicator #{ei.inspect} for #{elements[0].text_value}" val = CBOR::Box.from_number(val, {ei: ei}) end val end |