Module: CBOR_DIAG::Array3
- Defined in:
- lib/cbor-diag-parser.rb
Instance Method Summary collapse
Instance Method Details
#to_rb ⇒ Object
2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 |
# File 'lib/cbor-diag-parser.rb', line 2639 def to_rb r = if e = a1.elements [e[0].to_rb] + e[2].elements.map {|x| x.value.to_rb } else [] end if spec.is_stream? r.cbor_stream! end r end |