Ruby 4.0 リファレンスマニュアル

instance method Enumerator::ArithmeticSequence#hash

hash -> IntegerRuby 2.6.0 から[permalink][rdoc][edit]

自身のハッシュ値を返します。

begin, end, step, exclude_end? が等しい Enumerable::ArithmeticSequence は同じハッシュ値を返します。