instance method
Enumerator::ArithmeticSequence#exclude_end?
aseq.exclude_end? → true or false
enumerator.c
View on GitHub ↗
static inline VALUE
arith_seq_exclude_end(VALUE self)
{
struct arith_seq *ptr;
TypedData_Get_Struct(self, struct arith_seq, &enumerator_data_type, ptr);
return RBOOL(ptr->exclude_end);
}
Returns true if this arithmetic sequence excludes its end value.