Skip to content

Instantly share code, notes, and snippets.

@andreacfm
Created July 2, 2011 15: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 andreacfm/1060794 to your computer and use it in GitHub Desktop.
Save andreacfm/1060794 to your computer and use it in GitHub Desktop.
post_instance_eval
module Andrea
module My_module
def self.configure &block
instance_eval &block
end
def self.set(arg)
puts arg
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment