AlkantarClanX12

Your IP : 3.141.2.191


Current Path : /opt/alt/ruby18/share/ri/1.8/system/Object/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/Object/singleton_method_removed-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Invoked as a callback whenever a singleton method is removed from the receiver.
- !ruby/struct:SM::Flow::VERB 
  body: "   module Chatty\n     def Chatty.singleton_method_removed(id)\n       puts "Removing #{id.id2name}"\n     end\n     def self.one()     end\n     def two()          end\n     def Chatty.three() end\n     class <<self\n       remove_method :three\n       remove_method :one\n     end\n   end\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   Removing three\n   Removing one\n"
full_name: Object#singleton_method_removed
is_singleton: false
name: singleton_method_removed
params: |
  singleton_method_removed(symbol)

visibility: public