From: Drew Olson Date: 2007-02-14T05:39:07+09:00 Subject: Re: quick newbie true/false/nil question Jason Mayer wrote: > I ran across this line of code today, and it doesn't make sense to me. > > if ((klass = CommDispatcher.check_hash(path)) == nil) I don't know anything about CommDispatcher, but I'd assume you could rewrite the above code like so: if (!CommDispatcher.check_hash(path)) The code above seems like a pretty bad code example. -Drew -- Posted via http://www.ruby-forum.com/.