Skip to content

Instantly share code, notes, and snippets.

@fxposter
Created February 11, 2014 20:18
Show Gist options
  • Save fxposter/8943249 to your computer and use it in GitHub Desktop.
Save fxposter/8943249 to your computer and use it in GitHub Desktop.
def check
yield
rescue => e
e
end
check { "hello, #{1}" } # ?
check { "hello, " + 1 } # ?
check { "hello, " << 1 } # ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment