Skip to content

Instantly share code, notes, and snippets.

@chad
Created July 8, 2009 14:08
Show Gist options
  • Save chad/142869 to your computer and use it in GitHub Desktop.
Save chad/142869 to your computer and use it in GitHub Desktop.
class Thing
end
class SubThing < Thing
end
module IneffectiveOverride
end
Thing.send(:include, IneffectiveOverride)
p SubThing.ancestors
# [SubThing, Thing, IneffectiveOverride, Object, Kernel]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment