Skip to content

Instantly share code, notes, and snippets.

@lacco
Forked from burke/tribute.rb
Created February 24, 2010 00:25
Show Gist options
  • Save lacco/312902 to your computer and use it in GitHub Desktop.
Save lacco/312902 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