[MacRuby-devel] [macruby] #65: #sub!, #gsub!, and other bang methods mutate frozen strings

macruby ruby-noreply at macosforge.org
Wed May 28 15:25:22 PDT 2008


#65: #sub!, #gsub!, and other bang methods mutate frozen strings
--------------------------------+-------------------------------------------
 Reporter:  binary42 at gmail.com  |       Owner:  lsansonetti at 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/>


More information about the MacRuby-devel mailing list