[Nitro] [PATCH] small fix for EZ (===)

Bryan Soto bryan.a.soto at gmail.com
Thu Apr 27 02:48:40 EDT 2006


Rather than:

options[:condition] = options[:condition].shift.gsub('(?*)',
"(#{options[:condition].pop.join(',')})")

what do you think of:

[options[:condition]].flatten[0] <<  " #{joiner} #{cond}"

It seems more straight forward to me...

--
"Never tell people how to do things. Tell them what to do and they
will surprise you with their ingenuity." —General George S. Patton




More information about the Nitro-general mailing list