Skip to content

Instantly share code, notes, and snippets.

@dexterous
Created March 3, 2011 14:16
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 dexterous/852827 to your computer and use it in GitHub Desktop.
Save dexterous/852827 to your computer and use it in GitHub Desktop.
Ohh... my head hurts!
foo = lambda { |x| puts x }
foo.call('Hello, World!')
foo['You can index me too!']
@dexterous
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment