[MacRuby] #1384: Additions to class String are unusable from string created with NSString

MacRuby ruby-noreply at macosforge.org
Sun Sep 11 08:30:25 PDT 2011


#1384: Additions to class String are unusable from string created with NSString
--------------------------------+-------------------------------------------
 Reporter:  sohocoke@…          |       Owner:  lsansonetti@…        
     Type:  defect              |      Status:  new                  
 Priority:  minor               |   Milestone:                       
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------

Comment(by watson1978@…):

 If you add the method to NSString, you could invoke as following.
 {{{
 >> "a".handy_method
 I'm a handy method.
 }}}

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



More information about the macruby-tickets mailing list