lib/timber/event.rb in timber-1.0.12 vs lib/timber/event.rb in timber-1.0.13
- old
+ new
@@ -11,7 +11,11 @@
end
def to_json(options = {})
Util::Hash.compact(as_json).to_json(options)
end
+
+ def to_msgpack(*args)
+ as_json.to_msgpack(*args)
+ end
end
end
\ No newline at end of file