2件ヒット
[1-2件を表示]
(0.117秒)
ライブラリ
- ビルトイン (2)
クラス
- NilClass (1)
- UnboundMethod (1)
検索結果
-
NilClass
# to _ c -> Complex (63325.0) -
0+0i を返します。
0+0i を返します。
//emlist[例][ruby]{
nil.to_c # => (0+0i)
//} -
UnboundMethod
# owner -> Class | Module (373.0) -
このメソッドが定義されている class か module を返します。
このメソッドが定義されている class か module を返します。
//emlist[例][ruby]{
Integer.instance_method(:to_s).owner # => Integer
Integer.instance_method(:to_c).owner # => Numeric
Integer.instance_method(:hash).owner # => Kernel
//}