From: Raveendran Jazzez Date: 2008-07-04T14:44:26+09:00 Subject: Re: Basic ruby Question Hi All, But it was working in this way. class Universe def self.private_method p "=========Hello world=======" end end u=Universe.new u.private_method # => private.rb:7: undefined method `private_method' for # (NoMethodError) what is the Difference betweeen these two types? u=Universe.new u.private_method && Universe.private_method Regards, P.Raveendran http://raveendran.wordpress.com -- Posted via http://www.ruby-forum.com/.