From: Love U Ruby Date: 2013-02-18T04:47:34+09:00 Subject: Re: What is Ruby's default constructor? Hans Mackowiak wrote in post #1097446: > didnt you maybe think that this line: > def Object.new initialize > is totally wrong in ruby? > > i think you need to read your code twice Yes. I know that line wrong. But why the output "hi" came? how the inside "initialize" method has been invoked? have you seem that "hi" at the top of the exception? Thanks -- Posted via http://www.ruby-forum.com/.