[MacRuby-devel] [MacRuby] #187: YAML.load and non-native classes.

MacRuby ruby-noreply at macosforge.org
Mon Nov 2 19:15:01 PST 2009


#187: YAML.load and non-native classes.
-------------------------------------+--------------------------------------
 Reporter:  eloy.de.enige@…          |        Owner:  lsansonetti@…        
     Type:  defect                   |       Status:  closed               
 Priority:  blocker                  |    Milestone:  MacRuby 0.5          
Component:  MacRuby                  |   Resolution:  fixed                
 Keywords:                           |  
-------------------------------------+--------------------------------------
Changes (by lsansonetti@…):

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


Comment:

 I tried to find the original test case in
 http://svn.macosforge.org/repository/ruby/MacRuby/branches/yarv/test-
 macruby/known_bugs/known_bugs.rb but I was unsuccessful. Since the YAML
 support is all new in 0.5 and that it appears to be possible to dump/load
 some pure Objective-C objects, I assume the bug is fixed.

 {{{
 $ macruby -r yaml -e "framework 'Cocoa'; p
 YAML.load(NSPredicate.new.to_yaml)"
 #<NSPredicate:0x200240760>
 }}}

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



More information about the MacRuby-devel mailing list