class Gdbmish::Dump::Ascii::Appender
- Gdbmish::Dump::Ascii::Appender
- Reference
- Object
Overview
Appends and counts #push
ed data as ASCII dump format onto @io
.
Users should not use this class stand-alone, as it only represents the
data part of an dump, without header and footer. An instance of it gets
yielded when using Ascii#dump(io) { |appender| }
Defined in:
gdbmish/dump.crConstructors
Instance Method Summary
-
#<<(kv : Tuple(String, String)) : Nil
Alias for
#push
- #count : UInt64
-
#push(kv : Tuple(String, String)) : Nil
Push a
{"key", "value"}
Tuple
onto the dump