Class: TrueClass

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#to_msgpack(*args) ⇒ Object

call-seq:

true.to_msgpack(out = '') -> String

Serializes the true into raw bytes.



81
82
83
84
85
86
# File 'ext/pack.c', line 81

static VALUE MessagePack_TrueClass_to_msgpack(int argc, VALUE *argv, VALUE self)
{
  ARG_BUFFER(out, argc, argv);
  msgpack_pack_true(out);
  return out;
}