/* call-seq: * bz_set_time_limit(timelimit) -> true or false * * This method sets the given timelimit. * On success it returns true on failure it returns false. */ static VALUE bzflag_bz_setTimeLimit(VALUE self, VALUE timeLimit) { if (bz_setTimeLimit((float) NUM2DBL(timeLimit))) return Qtrue; return Qfalse; }