From: Joel Pearson Date: 2013-06-12T07:15:55+09:00 Subject: Re: Loop with range question 3..6 is a Range, and Integers like 1 are class Fixnum. You can see more of what Ranges are capable of here: http://ruby-doc.org/core-1.9.3/Range.html You'd get "undefined method 'between'" if you forgot the question mark from "between?". It's general practice in Ruby for methods which return a Boolean to end with a question mark. -- Posted via http://www.ruby-forum.com/.