Skip to content

Instantly share code, notes, and snippets.

@enil
Created August 2, 2013 09:46
Show Gist options
  • Save enil/6138729 to your computer and use it in GitHub Desktop.
Save enil/6138729 to your computer and use it in GitHub Desktop.
class Symbol
# Makes :symbol.(a,b,c) equal to symbol(a,b,c).
def call(*params, &block)
send(self, *params, &block)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment