Class: Object

Inherits:
BasicObject
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#data_typeObject



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

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

#to_type(type) ⇒ Object



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

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

#Type(type) ⇒ Object



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

static VALUE
type_new(VALUE klass, VALUE type)
{
    return rb_funcall(rb_cType, rb_intern("new"), 1, type);
}