[Radiant] Current tab in navigation

John W. Long ng at johnwlong.com
Fri Jun 1 13:47:45 CDT 2007


Sean Cribbs wrote:
> Yet another reason to stay away from !! in Ruby.

That is so !!true. :) Except that I do like to use it to convert an 
expression into either true or false:

def open?
   !!@pipe #if pipe is nil convert it to false
end

--
John Long
http://wiseheartdesing.com



More information about the Radiant mailing list