Class: Object
- Inherits:
- BasicObject
- Defined in:
- (unknown)
Instance Method Summary collapse
Instance Method Details
#data_type ⇒ Object
86 87 88 89 90 |
# File 'ext/barracuda.c', line 86
static VALUE
object_data_type_get(VALUE self)
{
return rb_ivar_get(self, id_data_type);
}
|
#to_type(type) ⇒ Object
247 248 249 250 251 252 |
# File 'ext/barracuda.c', line 247
static VALUE
object_to_type(VALUE self, VALUE type)
{
rb_ivar_set(self, id_data_type, type);
return self;
}
|
#Type(type) ⇒ Object
261 262 263 264 265 |
# File 'ext/barracuda.c', line 261
static VALUE
type_new(VALUE klass, VALUE type)
{
return rb_funcall(rb_cType, rb_intern("new"), 1, type);
}
|