Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Enumerator::ArithmeticSequenceクラス > hash

instance method Enumerator::ArithmeticSequence#hash

hash -> Integer[permalink][rdoc]

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

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