From: Robert Klemme Date: 2005-11-11T02:17:14+09:00 Subject: Re: Golf, anyone? m4dc4p wrote: > I spent a day figuring out how to solve this problem, and it seems > like there should be a much better solution. I wanted to write a > module that, when included in an object, would create a class > variable and accessor for that object. If another class includes the > module, it should have its own class variable and accessor. The class > variable does *not* live in the module - it is not shared by all > objects which include the module. Like this? module Foo def self.included(cl) class <