Could the method be used as a "getter" that would return the reference to the proper state?
-- Matt Foster Ajax Engineer Nth Penguin, LLC http://www.nthpenguin.com On Jun 17, 2:24 pm, EricGoogle <[EMAIL PROTECTED]> wrote: > Hello kangax, > > I am trying to keep "state" information in the correspoding elements > themselves rather that having each element have a "brother object" > that keeps it's state information. > I can't figure out how to do that with a method as opposed to a > property. > > I can think of many useful reasons for having both properties and > methods for objects in a language and this is a good example of how it > could be useful. > > thanks for the feedback, > > -Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
