Skip to content

Instantly share code, notes, and snippets.

@andrewharmellaw
Created May 20, 2013 19:12
Show Gist options
  • Save andrewharmellaw/5614680 to your computer and use it in GitHub Desktop.
Save andrewharmellaw/5614680 to your computer and use it in GitHub Desktop.
Ruby Ranges (exclusive) - Spot the Difference
someRubyNumbers = (1…5) // gives me a Ruby Range object which contains the Ints 1, 2, 3, and 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment