#65: #sub!, #gsub!, and other bang methods mutate frozen strings --------------------------------+------------------------------------------- Reporter: binary42@gmail.com | Owner: lsansonetti@apple.com Type: defect | Status: reopened Priority: minor | Milestone: Component: MacRuby | Resolution: Keywords: | --------------------------------+------------------------------------------- Changes (by binary42@gmail.com): * status: closed => reopened * resolution: wontfix => Comment: I typoed the original message. I meant it should raise the RuntimeError. And you are certainly right about the current behavior of sub!. I must have made an error in testing that method. #gsub!, however, is still mutating the string. (sorry for the confusion) -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/65#comment:2> macruby <http://ruby.macosforge.org/>