Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Enumerator::ArithmeticSequence#end
aseq.end → num or nil
enumerator.c
View on GitHub ↗
static inline VALUE
arith_seq_end(VALUE self)
{
return rb_ivar_get(self, id_end);
}
Returns the number that defines the end of this arithmetic sequence.