From: Vincent Fourmond Date: 2006-12-19T06:59:50+09:00 Subject: Re: Simple copy of attributes Paul Lutus wrote: > My personal view is that you should create a class responsible for data > handling and processing, and include methods capable of cloning some or all > of the data members of one instance of the class to another. That way, you > will have encapsulated the specifics of the data copying or processing > within the class. I agree that that would be the Ruby OO way. But, let's face it, for small scripts, a script-like procedural approach is much faster and easier to develop. For one, I discovered I would use another class just about when I reached the line where it became necessary... Vince -- Vincent Fourmond, PhD student http://vincent.fourmond.neuf.fr/