るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.091秒)
トップページ > バージョン:2.7.0[x] > 種類:インスタンスメソッド[x] > クエリ:move[x] > クラス:BasicObject[x]

別のキーワード

  1. net/http move
  2. fileutils move
  3. http move
  4. imap move
  5. net/imap move

ライブラリ

検索結果

BasicObject#singleton_method_removed(name) -> object (18307.0)

特異メソッドが Module#remove_method に より削除された時にインタプリタから呼び出されます。

...method_removed(name)
puts "singleton method \"#{name}\" was removed"
end
end

obj = Foo.new
def obj.foo
end

class << obj
remove_method :foo
end

#=> singleton method "foo" was removed
//}

@see Module#method_removed,BasicObject#singleton_method_added,BasicObject#singleton_method_undefined...