Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
>> ("0".."10").to_a
=> ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
>> ("1".."10").to_a
=> ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
>> ("2".."10").to_a
=> []
>> ("2".."9").to_a
=> ["2", "3", "4", "5", "6", "7", "8", "9"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment