Skip to content

Instantly share code, notes, and snippets.

@ruprict
Created April 23, 2012 12:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ruprict/2470568 to your computer and use it in GitHub Desktop.
module ClassMethods
def inherited(child_class) #:nodoc:
child_class.initialize_generated_modules
super
end
#etc
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment