Module: CBOR_DIAG::String1

Defined in:
lib/cbor-diag-parser.rb

Instance Method Summary collapse

Instance Method Details

#to_rbObject



1041
1042
1043
# File 'lib/cbor-diag-parser.rb', line 1041

def to_rb
  s.elements.map(&:partval).join.force_encoding(Encoding::UTF_8)
end