28 May
2008
28 May
'08
10:25 p.m.
#65: #sub!, #gsub!, and other bang methods mutate frozen strings --------------------------------+------------------------------------------- Reporter: binary42@gmail.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- If a string is frozen, #sub! and #gsub! raise a RuntimeError. It seems other bang methods like succ! are affected as well. -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/65> macruby <http://ruby.macosforge.org/>