Module: CBOR_DIAG::Array3
- Defined in:
- lib/cbor-diag-parser.rb
Instance Method Summary collapse
Instance Method Details
#to_rb ⇒ Object
2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 |
# File 'lib/cbor-diag-parser.rb', line 2578 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 |