Module: EDNGRAMMAR::Number1
- Defined in:
- lib/parser/edngrammar.rb
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
338 339 340 341 342 343 344 345 346 |
# File 'lib/parser/edngrammar.rb', line 338 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_instance(val, {ei: ei}) end val end |