module NoBacksies::Inherited

Callback system for inherited.

Public Class Methods

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

Public Instance Methods

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