From: 7stud -- Date: 2011-04-19T05:33:31+09:00 Subject: Re: Extract a range i.e. svr[100..130] ? Richard Sandoval wrote in post #993091: > 7stud, > > you use upto but that doesnt work for 1.8.6, what method could I use in > this scenario? puts RUBY_VERSION 1.upto(5) do |i| puts i end --output:-- 1.8.6 1 2 3 4 5 -- Posted via http://www.ruby-forum.com/.