module NoBacksies::SingletonMethodUndefined

Callback system for singleton_method_undefined.

Public Class Methods

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

Public Instance Methods

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