From: "Dmitry V. Sabanin" Date: 2003-09-12T02:14:36+09:00 Subject: ruby 1.8 strange behavior Hi, I've started making my own C extension to ruby, and found that strange behavior: class MyTest def []=(key,val) "my_own_return_value" end end test = MyTest.new p test[1] = "big" Both ruby1.6 and ruby1.7 puts "my_own_return_value", but ruby1.8 puts "big". I'm interested if this is right. I know that it's kinda stupid to do something like this and I found that just by accident, but anyway :) -- sdmitry -=- Dmitry V. Sabanin MuraveyLabs.