From: sto.mar@... Date: 2013-06-12T13:31:28+09:00 Subject: Re: Loop with range question Am 11.06.2013 23:12, schrieb Scott H.: > Joel Pearson wrote in post #1112054: >> These work: >> >> (3..6).include? 4 >> >> 4.between? 3, 6 > > How would I incorporate the above into the loop? I tried... > next if i.between? 3, 6 > result => undefined method 'between' for 1:Fixnum That's not possible, the error message does not match your input (you must have used `next if i.between 3, 6`). --