This page printed from:
panoptic.com/rking/Hook+Methods+of+Ruby
For Our King, Only
Recent Changes
/
Heat
/
Syntax
/
History
Hook Methods of Ruby
!! BasicObject#singleton_method_undefined Signature: singleton_method_undefined(arg1) Invoked as a callback whenever a singleton method is undefined in the receiver. {{ module Chatty def Chatty.singleton_method_undefined(id) puts "Undefining #{id.id2name}" end def Chatty.one() end class << self undef_method(:one) end end produces: Undefining one }}
Password
Summary of changes
Erase cookies
/
Syntax
/
History
Last changed: 2012/12/06 10:59