/* is_num? */ static VALUE field_is_num(VALUE obj) { return IS_NUM(NUM2INT(rb_iv_get(obj, "type"))) ? Qtrue : Qfalse; }