From: Robert Dober Date: 2008-07-27T20:25:17+09:00 Subject: Re: local constant On Sat, Jul 26, 2008 at 6:18 PM, Phlip wrote: > Robert Dober wrote: > >>>> Ruby expects to assign constants only once. If you called aidy() twice, >>>> the >>>> constant would re-assign, and it therefor would not be constant. >>>> >>> Excellant explanation. >> >> But not quite correct, constants *can* be reassigned all you get is a >> warning. > > Read my verbiage again. Sorry if I misunderstood, I have misinterpreted your sentence "it would not be a constant anymore". Well it is not a constant. That was what I meant with not quite correct, I should have used "I do not completely agree" maybe. R. -- http://ruby-smalltalk.blogspot.com/ There's no one thing that's true. It's all true. -- Ernest Hemingway