[MacRuby-devel] [MacRuby] #244: String.name should return "String" and not "NSMutableString"

MacRuby ruby-noreply at macosforge.org
Tue Apr 21 17:49:48 PDT 2009

#244: String.name should return "String" and not "NSMutableString"
 Reporter:  carllerche@…       |       Owner:  lsansonetti@…        
     Type:  defect             |      Status:  new                  
 Priority:  blocker            |   Milestone:                       
Component:  MacRuby            |    Keywords:                       

Comment(by lsansonetti@…):

 #name and #to_s should probably return "String" when the receiver is
 NSMutableString (same for Array, Hash and Set) for compatibility purposes.
 However I would prefer to keep #inspect showing the real class name.

Ticket URL: <http://www.macruby.org/trac/ticket/244#comment:2>
MacRuby <http://macruby.org/>

More information about the MacRuby-devel mailing list