/* * Clear out the message data and headers * * Note: * * The descriptor is not affected in any way */ VALUE Message_clear(VALUE self) { rb_iv_set(self, "@data", Qnil); rb_iv_set(self, "@headers", rb_ary_new()); return self; }