Skip to content

Instantly share code, notes, and snippets.

@burke
Created February 23, 2010 02:03
Show Gist options
  • Save burke/311762 to your computer and use it in GitHub Desktop.
Save burke/311762 to your computer and use it in GitHub Desktop.
def dsl &b
Class.new{
def r&b;instance_exec &b
end; def method_missing s,*_
@m=[s,*@m];end}.new.r &b
end;
p dsl { tribute to _why }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment