Nasir Khan wrote:
> def self.run=(flag)
> This is obviously not what will happen when at_exit do
> unless $! || Test::Unit.run?
>> not a bug... just bad English. It should be #ran?, not #run?.
See the ? mark?
'run?' ain't the same as 'run=' or 'run()'. Hence, your line gets
pronounced "unless you have an error, or you already ran, you will now
run".
(And, yes, you Inflector detractors, good grammar matters in
programming!
--
Phlip
http://assertxpath.rubyforge.org/