Module: Rreplay::Format
- Defined in:
- lib/rreplay/format.rb
Defined Under Namespace
Classes: Format
Constant Summary collapse
- Json =
Format.new('.json', ->(str) { JSON.dump(str) }, ->(str) { JSON.parse(str) }, false, )
- Msgpack =
Format.new('.msgpack', ->(str) { MessagePack.pack(str) }, ->(str) { MessagePack.unpack(str) }, true, )