Skip to content

Instantly share code, notes, and snippets.

@njpearman
Created April 27, 2010 12:39
Show Gist options
  • Save njpearman/380691 to your computer and use it in GitHub Desktop.
Save njpearman/380691 to your computer and use it in GitHub Desktop.
my_thing.instance_eval { (class << self; self; end).instance_eval "include MyModule" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment