module CBOR_DIAG::Streamstring3

Public Instance Methods

to_rb() click to toggle source
# File lib/cbor-diag-parser.rb, line 3145
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