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

instance method Enumerator::ArithmeticSequence#==

self == other -> bool[permalink][rdoc]

Enumerable::ArithmeticSequence として等しいか判定します。

other が Enumerable::ArithmeticSequence で begin, end, step, exclude_end? が等しい時に true を返します。

[PARAM] other:
自身と比較する Enumerable::ArithmeticSequence