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

  * 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/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to