On Jul 26, 3:32     쮮 
Hi David

Thanks for getting back

> 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?
>

I am a little puzzled

irb(main):001:0> def aidy
irb(main):002:1>  FIREFOX_CLASS = "[CLASS:MozillaUIWindowClass]"
irb(main):003:1> end
SyntaxError: compile error
(irb):2: dynamic constant assignment
 FIREFOX_CLASS = "[CLASS:MozillaUIWindowClass]"
                ^

Thanks

Aidy