Hi, while writing specs for Magic, I noticed that:
instance_from(MenuItem, "Hello").text.*to_s*.should == "Hello" to_s is required to get the assertion to pass. The following will return false: button = Button.new button.text = "Hello" puts button.text == "Hello" So I guess that CLR strings cannot be compared to Ruby strings unless to_s is applied. While not a big deal, it's a bit surprising. Is it something that is likely to change ? cheers, -- Thibaut
_______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
