231件ヒット
[201-231件を表示]
(0.102秒)
ライブラリ
クラス
- Data (3)
-
Fiddle
:: Pointer (12) -
Gem
:: Version (12) - IPAddr (12)
- Method (24)
- Numeric (12)
- Object (12)
-
OpenSSL
:: BN (12) -
OpenSSL
:: PKey :: EC :: Group (12) -
OpenSSL
:: PKey :: EC :: Point (12) - OpenStruct (12)
- Pathname (12)
- Range (12)
- Regexp (12)
- String (12)
- Struct (12)
- Time (12)
- UnboundMethod (24)
検索結果
-
Method
# eql?(other) -> bool (15107.0) -
自身と other が同じインスタンスの同じメソッドを表す場合に true を返します。そうでない場合に false を返します。
...ッドを表す場合に
true を返します。そうでない場合に false を返します。
@param other 自身と比較したいオブジェクトを指定します。
//emlist[例][ruby]{
s = "bar"
a = s.method(:size)
b = s.method(:size)
p a == b #=> true
//}... -
Method
# hash -> Integer (25.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
//emlist[例][ruby]{
a = method(:==)
b = method(:eql?)
p a.eql? b # => true
p a.hash == b.hash # => true
p [a, b].uniq.size # => 1
//}... -
UnboundMethod
# hash -> Integer (25.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
//emlist[例][ruby]{
a = method(:==).unbind
b = method(:eql?).unbind
p a.eql? b # => true
p a.hash == b.hash # => true
p [a, b].uniq.size # => 1
//}...