Module: EDNGRAMMAR::Number1
- Defined in:
- lib/parser/edngrammar.rb
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
450 451 452 453 454 455 456 457 458 |
# File 'lib/parser/edngrammar.rb', line 450 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 |