Skip to content

Instantly share code, notes, and snippets.

@dgrijalva
Last active September 25, 2015 03:58
Show Gist options
  • Save dgrijalva/859334 to your computer and use it in GitHub Desktop.
Save dgrijalva/859334 to your computer and use it in GitHub Desktop.
My .irbrc (IRB Quick snippets)
# Time something
def t; t = Time.now; r = yield; puts Time.now - t; r; end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment