From: Li Chen Date: 2009-07-12T01:07:05+09:00 Subject: Re: help for code understanding James Gray wrote: > In plain English, it makes a new object of the same type as the > current object and passes the current object as the argument to the > constructor of the new object. Thank you, James. Now I understand the code. But what is difference between these two methods(follow your previous example codes): def make_another_object1 self.class.new end def make_another_object2 self.clone end Are they the same if self.class.new takes no argument? Li -- Posted via http://www.ruby-forum.com/.