Module: CBOR_DIAG::BstringPart2

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

Instance Method Summary collapse

Instance Method Details

#partvalObject



1735
1736
1737
1738
# File 'lib/cbor-diag-parser.rb', line 1735

def partval
  v = s.text_value
  {"b" => "\b", "f" => "\f", "n" => "\n", "r" => "\r", "t" => "\t"}[v] || v
end