Module: CBOR_DIAG::Array3
- Defined in:
- lib/cbor-diag-parser.rb
Instance Method Summary collapse
Instance Method Details
#to_rb ⇒ Object
2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 |
# File 'lib/cbor-diag-parser.rb', line 2600 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 |