module Rreplay::Format

Constants

Format
Json
Msgpack

Public Class Methods

of(format) click to toggle source
# File lib/rreplay/format.rb, line 17
def of(format)
  case format.to_sym
  when :json
    Json
  when :msgpack
    Msgpack
  else
    raise "Unknown format #{format}"
  end
end