From: Li Chen Date: 2006-12-18T04:15:49+09:00 Subject: with and without initialize method Hi all, I define two classes, one with and the other without initialize method. But I can call them with the same method new. I am not sure how to explain them but I guess there are some kinds of default settings within Ruby. Any comments? Thanks, Li ## class X puts "x" end class Y def initialize puts "y" end end X.new Y.new >ruby variables4.rb x y >Exit code: 0 -- Posted via http://www.ruby-forum.com/.