るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.076秒)

別のキーワード

  1. socket mcast_exclude
  2. _builtin exclude_end?
  3. rake exclude
  4. range exclude_end?
  5. options exclude

ライブラリ

検索結果

Range#hash -> Integer (54391.0)

始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。

始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。

//emlist[例][ruby]{
p (1..2).hash # => 5646
p (1...2).hash # => 16782863
//}

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

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

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

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