Class: Barracuda::Type
Instance Method Summary
collapse
Constructor Details
#initialize(object) ⇒ Object
228
229
230
231
232
233
|
# File 'ext/barracuda.c', line 228
static VALUE
type_initialize(VALUE self, VALUE object)
{
rb_ivar_set(self, id_object, object);
return self;
}
|
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(type) ⇒ Object
235
236
237
238
239
240
|
# File 'ext/barracuda.c', line 235
static VALUE
type_method_missing(VALUE self, VALUE type)
{
data_type_set(self, type);
return self;
}
|
Instance Method Details
242
243
244
245
246
|
# File 'ext/barracuda.c', line 242
static VALUE
type_object(VALUE self)
{
return rb_ivar_get(self, id_object);
}
|