[MacRuby-devel] [MacRuby] #286: YAML unable to load NSString

MacRuby ruby-noreply at macosforge.org
Mon Nov 2 18:59:41 PST 2009


#286: YAML unable to load NSString
---------------------------------+------------------------------------------
 Reporter:  ndnichols@…          |        Owner:  lsansonetti@…        
     Type:  defect               |       Status:  closed               
 Priority:  minor                |    Milestone:  MacRuby 0.5          
Component:  MacRuby              |   Resolution:  fixed                
 Keywords:                       |  
---------------------------------+------------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.5


Comment:

 It appears to work with trunk (at least as of r2945):

 {{{
 $ macruby -r yaml -e "p NSString.stringWithString('hey').class"
 NSString
 $ macruby -r yaml -e "p NSString.stringWithString('hey').to_yaml"
 "--- hey\n"
 }}}

 #to_yaml on an immutable string returns a valid YAML description.

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



More information about the MacRuby-devel mailing list