Skip to content

Instantly share code, notes, and snippets.

@foca
Created July 29, 2008 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foca/3173 to your computer and use it in GitHub Desktop.
Save foca/3173 to your computer and use it in GitHub Desktop.
module M; end
class C; end
C.ancestors #=> [Object, Kernel]
C.send :include, M #=> C
C.ancestors #=> [M, Object, Kernel]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment