Skip to content

Instantly share code, notes, and snippets.

@radar
Created March 5, 2016 01:54
Show Gist options
  • Save radar/6cd11bab66b815fc52cb to your computer and use it in GitHub Desktop.
Save radar/6cd11bab66b815fc52cb to your computer and use it in GitHub Desktop.
irb(main):002:0> a = Time.now
=> 2016-03-05 12:54:15 +1100
irb(main):003:0> b = Time.now
=> 2016-03-05 12:54:17 +1100
irb(main):004:0> b - a
=> 1.935415
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment