Skip to content

Instantly share code, notes, and snippets.

@jstorimer
Created October 12, 2012 20:31
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 jstorimer/3881331 to your computer and use it in GitHub Desktop.
Save jstorimer/3881331 to your computer and use it in GitHub Desktop.
class Foo
include Module.new {
def this_works
end
}
include Module.new do
def this_doesnt_work
end
end
end
worker = Worker.new
worker.this_works
worker.this_doesnt_work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment