Module: CBOR_DIAG::Streamstring3
- Defined in:
- lib/cbor-diag-parser.rb
Instance Method Summary collapse
Instance Method Details
#to_rb ⇒ Object
3164 3165 3166 3167 3168 3169 3170 3171 |
# File 'lib/cbor-diag-parser.rb', line 3164 def to_rb r = if e = a1.elements [e[0].to_rb] + e[2].elements.map {|x| x.string.to_rb } else [] end r.join.cbor_stream!(r.map(&:size)) end |