From: Hussachai Puripunpinyo Date: 2006-09-20T19:32:20+09:00 Subject: Something strange in ruby or I'm a newbie? Question 1: #IS THIS A BUG class TestBug def test "Hello Bug" end end class FoundBug < TestBug def test super +" ,I found you !" #Notice here end end test = FoundBug.new() puts test.test It blame me that "undefined method `+@' for " ,I found you !":String (NoMethodError) from C:/DOCUME~1/HUSSAC~1/LOCALS~1/Temp/rb1F.tmp:12" Why? This is bug or I miss something? If I replace the line in '#Notice here' to super+" ,I found you !" #With no space between super and my string #OR super + " ,I found you !" #With space both side of '+' #I found that no error Why? -- Posted via http://www.ruby-forum.com/.