Class: Transit::Marshaler::MessagePack
- Inherits:
-
Object
- Object
- Transit::Marshaler::MessagePack
- Includes:
- Base
- Defined in:
- lib/transit/marshaler/jruby/messagepack.rb
Instance Method Summary collapse
- #default_opts ⇒ Object
-
#initialize(io, opts) ⇒ MessagePack
constructor
A new instance of MessagePack.
Methods included from Base
#emit_array, #emit_boolean, #emit_double, #emit_encoded, #emit_int, #emit_map, #emit_nil, #emit_string, #emit_tagged_value, #escape, #find_handler, #marshal, #marshal_top, #parse_options, #verbose_handlers
Constructor Details
#initialize(io, opts) ⇒ MessagePack
Returns a new instance of MessagePack.
26 27 28 |
# File 'lib/transit/marshaler/jruby/messagepack.rb', line 26 def initialize(io, opts) (default_opts.merge(opts)) end |