Current Path : /usr/local/share/ri/1.8/system/Object/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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