Skip to content

Instantly share code, notes, and snippets.

@Serabe
Forked from burke/tribute.rb
Created February 23, 2010 09:29
Show Gist options
  • Save Serabe/312029 to your computer and use it in GitHub Desktop.
Save Serabe/312029 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