From: Aya Abdelsalam Date: 2011-09-20T03:11:05+09:00 Subject: Overloaded constructor Hello I want I ask something I am using ruby192 I want to know if it can support overloaded constructor for example if i want to write this c++ code in ruby class CRectangle { int width, height; public: CRectangle (int,int); CRectangle(int); int area () {return (width*height);} }; CRectangle::CRectangle (int a, int b) { width = a; height = b; } CRectangle::CRectangle (int a) { width = a; height = a; } What should I do? -- Posted via http://www.ruby-forum.com/.