In ruby 1...5 gives you a range which doesn't include 5 whereas 1..5 gives you a range which does include 5