Now I know why it does not work.

"ri Object#clone" and "ri Object#dup" prints this.

Produces a shallow copy of _obj_---the instance variables of _obj_
are copied, but not the objects they reference.

Anybody knows method that copies the object, not just the instance
variables of object?

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to