module NoBacksies::SingletonMethodAdded

Callback system for method_added.

Public Class Methods

append_features(base) click to toggle source
# File lib/no_backsies.rb, line 233
def self.append_features(base)
  base.extend CallbackMethods
  base.extend self
end

Public Instance Methods

singleton_method_added(method) click to toggle source
Calls superclass method
# File lib/no_backsies.rb, line 239
def singleton_method_added(method)
  if defined?(super)
    callback_invoke(:singleton_method_added, method){ super(method) }
  else
    callback_invoke(:singleton_method_added, method)
  end
end