From: Love U Ruby Date: 2013-02-18T05:00:02+09:00 Subject: Re: What is Ruby's default constructor? @Stefano - yes you are right. That's not only the "begin" keyword, anything if you type you will be ended up with the above exception. But I am astonished after seeing that - if the construct is wrong - then why IRB didn't told me when the "class" definition has been ended with the "end" keyword. What I actually trying to see when no 'initialize' method is given to an class definition then the class as you said should call the "Object#initialize", which here I tried to customize and see if it has been called or not. With that approach I reached to a conclusion(although) that's wrong), when I typed "ob = A .new". The same result I got. Then I thought I did something wrong in my customization. So I tried to create the object creation within an exception block. And when I typed "begin" and pressed "ENTER" - i got the same error. And that time my all motivation turned out to the point - "why such error?" -- Posted via http://www.ruby-forum.com/.