The reason for this is that ruby actually has two range types. One uses two dots, one uses three, and the one with three dots does not include the last object.