From: Joshua Ballanco Date: 2008-04-04T22:13:29+09:00 Subject: Re: dead code bramu.ss@gmail.com wrote: > if true > puts "its english" > elsif choice == 2 > puts "my choice is 2" > end I guess the "correct" answer here would be to write tests for your code. If this appeared in a method, and you wrote a test for that method, a tool such as 'rcov' would let you know that the 'elsif' is never reached. Cheers, Josh -- Posted via http://www.ruby-forum.com/.