228件ヒット
[201-228件を表示]
(0.150秒)
別のキーワード
ライブラリ
- ビルトイン (228)
クラス
- Method (12)
- Module (84)
- Object (36)
- UnboundMethod (96)
キーワード
- == (12)
- bind (12)
-
bind
_ call (12) -
define
_ method (24) - eql? (12)
- inspect (12)
-
instance
_ methods (12) -
method
_ added (12) -
original
_ name (12) - parameters (12)
-
private
_ instance _ methods (12) -
public
_ instance _ method (12) -
public
_ method (12) -
singleton
_ method (12) -
source
_ location (12) -
to
_ s (12)
検索結果
先頭4件
-
UnboundMethod
# to _ s -> String (3037.0) -
self を読みやすい文字列として返します。
...self を読みやすい文字列として返します。
詳しくは Method#inspect を参照してください。
//emlist[例][ruby]{
String.instance_method(:count).inspect # => "#<UnboundMethod: String#count>"
//}
@see Method#inspect... -
UnboundMethod
# bind _ call(recv , *args) -> object (3031.0) -
self を recv に bind して args を引数として呼び出します。
...self を recv に bind して args を引数として呼び出します。
self.bind(recv).call(*args) と同じ意味です。
//emlist[][ruby]{
puts Kernel.instance_method(:inspect).bind_call(BasicObject.new) # => #<BasicObject:0x000055c65e8ea7b8>
//}
@see UnboundMethod#bind, Method#call... -
UnboundMethod
# bind _ call(recv , *args) { . . . } -> object (3031.0) -
self を recv に bind して args を引数として呼び出します。
...self を recv に bind して args を引数として呼び出します。
self.bind(recv).call(*args) と同じ意味です。
//emlist[][ruby]{
puts Kernel.instance_method(:inspect).bind_call(BasicObject.new) # => #<BasicObject:0x000055c65e8ea7b8>
//}
@see UnboundMethod#bind, Method#call... -
UnboundMethod
# original _ name -> Symbol (3031.0) -
オリジナルのメソッド名を返します。
...オリジナルのメソッド名を返します。
//emlist[例][ruby]{
class C
def foo; end
alias bar foo
end
C.instance_method(:bar).original_name # => :foo
//}
@see Method#original_name...