Skip to content

Instantly share code, notes, and snippets.

@0x0dea

0x0dea/silly?.rb Secret

Created August 6, 2015 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save 0x0dea/94debe4c1c28f6f2bac7 to your computer and use it in GitHub Desktop.
Save 0x0dea/94debe4c1c28f6f2bac7 to your computer and use it in GitHub Desktop.
def true.-(a, &b) a[] end
def false.-(a, &b) b[] end
(1 == 1).--> { :ok } { fail Math }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment