/* * call-seq: * fi.boost -> boost * * Return the default boost for this field */ static VALUE frt_fi_boost(VALUE self) { FieldInfo *fi = (FieldInfo *)DATA_PTR(self); return rb_float_new((double)fi->boost); }