[MacRuby-devel] [macruby] #63: -objectEnumerator troubles

macruby ruby-noreply at macosforge.org
Tue May 27 13:26:34 PDT 2008


#63: -objectEnumerator troubles
------------------------+---------------------------------------------------
 Reporter:  z at wzph.com  |        Owner:  lsansonetti at apple.com
     Type:  defect      |       Status:  new                  
 Priority:  major       |    Milestone:  MacRuby 1.0          
Component:  MacRuby     |   Resolution:                       
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by z at wzph.com):

 It's not critical, if the object has #each.  However, DOMNodeList doesn't.
 I am trying to implement #each using the enumerator, but I can't.

 {{{
 annyong:trunk wzph$ macirb
 irb(main):001:0> framework 'cocoa' ; framework 'webkit'
 => true
 irb(main):002:0> DOMNodeList.ancestors
 => [DOMNodeList, DOMObject, WebScriptObject, Object, NSObject, Kernel]
 }}}

-- 
Ticket URL: <http://ruby.macosforge.org/trac/ticket/63#comment:2>
macruby <http://ruby.macosforge.org/>


More information about the MacRuby-devel mailing list