るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.100秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:step[x] > バージョン:2.7.0[x] > クラス:Enumerator::ArithmeticSequence[x]

別のキーワード

  1. _builtin step
  2. numeric step
  3. date step
  4. range step

ライブラリ

キーワード

検索結果

Enumerator::ArithmeticSequence#step -> Numeric (54310.0)

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

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

Enumerator::ArithmeticSequence#==(other) -> bool (25.0)

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

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

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

@param other 自身と比較する Enumerable::ArithmeticSequence

Enumerator::ArithmeticSequence#hash -> Integer (25.0)

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

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

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