Class: Hash
Instance Method Summary collapse
Instance Method Details
#cbor_diagnostic(options = {}) ⇒ Object
93 94 95 |
# File 'lib/cbor-diagnostic.rb', line 93 def cbor_diagnostic( = {}) "{#{"_ " if cbor_stream?}#{map{ |k, v| %{#{k.cbor_diagnostic()}: #{v.cbor_diagnostic()}}}.join(", ")}}" end |