To Everyone, Thanks for your help.
When you are confused about something, it is sometimes hard to distill all your thoughts down to the essence of the issue and ask the right question. But I am trying to define a CONSTANT using the result of an instance method and Ruby just doesn't allow that and I don't understand why. Why does it have to be a class method? Is it because a constant is "class-only". It can't be accessed by an instance. You could define an instance method that would return the same information as the constant but there is no syntax to access the constant directly from an instance object. So to define a constant, I can use a literal or a class method but not an instance method. And it can only be accessed via Class::Constant. Buzz -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

