From: Panagiotis Karvounis Date: 2005-02-22T07:01:59+09:00 Subject: Constructor overloading??? I am not trying sth special.I am testing language features that I use with Java. I was trying to use initialize more than once(think Java-default constructor,other with one argument etc...) Example with Java: public class Rectangle { public int a,b; public Rectangle() { a=0; b=0; } public Rectangle(int c,int d) { a=c; b=d; } } So I tried: class Rectangle def initialize @a=0 @b=0 end def initialize(c,d) @a=c @b=d end end But it was obviously not working.