るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.110秒)
トップページ > クエリ:t[x] > クエリ:instance[x] > クエリ:method[x] > クエリ:instance_method[x] > クエリ:bind[x] > クラス:Module[x] > バージョン:3.1[x]

別のキーワード

  1. csv instance
  2. basicobject instance_eval
  3. singleton instance
  4. forwardable def_instance_delegators
  5. forwardable def_instance_delegator

ライブラリ

検索結果

Module#instance_method(name) -> UnboundMethod (109819.0)

self のインスタンスメソッド name をオブジェクト化した UnboundMethod を返します。

...Symbol または String で指定します。

@raise NameError self に存在しないメソッドを指定した場合に発生します。

@see Module#public_instance_method, Object#method

//emlist[例][ruby]{
class Interpreter
def do_a() print "there, "; end
def do_d() print "Hello "; end...