Class: Object

Inherits:
BasicObject
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#data_typeObject



87
88
89
90
91
# File 'ext/barracuda.c', line 87

static VALUE
object_data_type_get(VALUE self)
{
    return rb_ivar_get(self, id_data_type);
}

#to_type(type) ⇒ Object



248
249
250
251
252
253
# File 'ext/barracuda.c', line 248

static VALUE
object_to_type(VALUE self, VALUE type)
{
    rb_ivar_set(self, id_data_type, type);
    return self;
}

#Type(type) ⇒ Object



262
263
264
265
266
# File 'ext/barracuda.c', line 262

static VALUE
type_new(VALUE klass, VALUE type)
{
    return rb_funcall(rb_cType, id_new, 1, type);
}