module Decors::MethodAdded::SingletonListener
Public Class Methods
extended(base)
click to toggle source
# File lib/decors/method_added.rb, line 63 def self.extended(base) ObjectSpace.each_object(base).first.send(:extend, ForwardToSingletonListener) end
Public Instance Methods
singleton_method_added(meth)
click to toggle source
Calls superclass method
# File lib/decors/method_added.rb, line 58 def singleton_method_added(meth) super handle_method_addition(singleton_class, meth) end