1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489
# File 'lib/cbor-diag-parser.rb', line 1479 def to_rb r = if e = a1.elements Hash[ [e[0].to_rb] + e[2].elements.map {|x| x.kp.to_rb } ] else {} end if spec.is_stream? r.cbor_stream! end r end