module Yieldable::WaitMethodDefinition
Public Instance Methods
singleton_method_added(id)
click to toggle source
Calls superclass method
# File lib/yieldable.rb, line 73 def singleton_method_added(id) if id == YieldableMixin.method_name begin Yieldable.set_proc(self, YieldableMixin) ensure singleton_class.remove_method(:singleton_method_added) if YieldableMixin.once end end super(id) end