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