Hi -- On Sat, 26 Jul 2008, aidy wrote: > Hi, > > Could anyone tell me why Ruby does not allow a local constant? > > FIREFOX_CLASS = "[CLASS:MozillaUIWindowClass]" I'm afraid I don't follow. That statement will execute perfectly well. What exactly are you trying to do? David -- Rails training from David A. Black and Ruby Power and Light: Intro to Ruby on Rails July 21-24 Edison, NJ * Advancing With Rails August 18-21 Edison, NJ * Co-taught by D.A. Black and Erik Kastner See http://www.rubypal.com for details and updates!