Subject: Re: if statements and case statements questions
From: Kenneth <ken70r gmail.com>
Date: Sat, 10 Jul 2010 15:21:29 +0900
References: 365527
In-reply-to: 365527
Also since you are not just comparing lines but also row numbers, you
can't use
case lines
when ...
when ...
end
I guess you should stick with the if elsif ... end
--
Posted via http://www.ruby-forum.com/.