Module: FFI::MsgPack::Packable
- Defined in:
- lib/ffi/msgpack/packable.rb
Instance Method Summary collapse
-
#to_msgpack ⇒ String
Packs a Ruby Object.
Instance Method Details
#to_msgpack ⇒ String
Packs a Ruby Object.
12 13 14 15 16 17 |
# File 'lib/ffi/msgpack/packable.rb', line 12 def to_msgpack packer = Packer.create packer << self return packer.to_s end |