2件ヒット
[1-2件を表示]
(0.076秒)
ライブラリ
- ビルトイン (2)
クラス
-
Enumerator
:: ArithmeticSequence (1) - Range (1)
検索結果
-
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 は
同じハッシュ値を返します。