From: tamouse mailing lists Date: 2013-02-04T17:24:27+09:00 Subject: Re: Storing string-data in a module On Sun, Feb 3, 2013 at 3:43 AM, Carlo E. Prelz wrote: > You can directly use the instance's variable, like this: > > def one(i = '') > @string+='<'+i+'>' > end > > @string would be owned by the instance of each class that included > your module. But I think this last way obfuscates things a bit too > much. *Much* agreed -- this would result in, effectively, a side-effect, or action at a distance, and create a coupling with the including class that may come back to bite one.