On Aug 25, 3:32 am, trans <[email protected]> wrote: > I was wondering what was the reasoning behind freezing the Memoizable > return values? >
to protect you from stuff like foo = bar.memoized_method foo.gsub!(...) #do something with foo If you did this and foo wasn't frozen then you'd alter what memoized_method returned for all future calls - probably not what was intended Fred -- 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.

