Ruby 3.0 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Enumerator::ArithmeticSequenceクラス > hash
hash -> Integer
自身のハッシュ値を返します。
begin, end, step, exclude_end? が等しい Enumerable::ArithmeticSequence は同じハッシュ値を返します。