Packs a Ruby Object.
Returns:
The packed Object.
12 13 14 15 16 17
# File 'lib/ffi/msgpack/packable.rb', line 12 def to_msgpack packer = Packer.create packer << obj return packer.to_s end