From: Zhao Yi Date: 2008-09-02T21:13:52+09:00 Subject: About class variable question? Please see this code below. It will get "can't convert nil to string error". Why can't the @name be assigned? I have set the @name = "world". class Hello @name="world" def say puts "Hello "+@name end end h=Hello.new h.say -- Posted via http://www.ruby-forum.com/.