Class: Fixnum
Instance Method Summary collapse
Instance Method Details
#data_type ⇒ Object
93 94 95 96 97 |
# File 'ext/barracuda.c', line 93
static VALUE
fixnum_data_type_get(VALUE self)
{
return ID2SYM(id_type_int);
}
|
#to_type(type) ⇒ Object
255 256 257 258 259 260 |
# File 'ext/barracuda.c', line 255
static VALUE
fixnum_to_type(VALUE self, VALUE type)
{
VALUE out = rb_funcall(rb_cType, rb_intern("new"), 1, self);
return type_method_missing(out, type);
}
|