From: Nikodemus Siivola Date: 2002-10-12T18:34:06+09:00 Subject: Re: Different Behavior of Class Variables w.r.t ||= On Sat, 12 Oct 2002, Gavin Sinclair wrote: > I think Ruby should have them on by default, and use a command-line switch to > suppress them. How about: "ruby bad.rb" => 17 warnings by default "ruby -w 17 bad.rb" => no warnings "ruby -w 16 bad.rb" => "Warning: Expected 16 warnings, but there were 17!" "ruby -w 18 bad.rb" => "Warning: Expected 18 warnings, but there were 17!" -- Nikodemus