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

instance method Enumerator::ArithmeticSequence#step

step -> NumericRuby 2.6.0 から[permalink][rdoc][edit]

公差 (各ステップの大きさ) を返します。