module CBOR_DIAG::Streamstring7
Public Instance Methods
to_rb()
click to toggle source
# File lib/cbor-diag-parser.rb, line 3107 def to_rb r = if e = a1.elements [e[0].to_rb] + e[2].elements.map {|x| x.hstring.to_rb } else [] end r.join.b.cbor_stream!(r.map(&:size)) end