[MacRuby-devel] [MacRuby] #186: Difference between NSObject and Object?

MacRuby ruby-noreply at macosforge.org
Mon Dec 22 21:52:35 PST 2008


#186: Difference between NSObject and Object?
----------------------------------------+-----------------------------------
 Reporter:  vincent.isambart@…          |       Owner:  lsansonetti@…        
     Type:  defect                      |      Status:  new                  
 Priority:  critical                    |   Milestone:                       
Component:  MacRuby                     |    Keywords:                       
----------------------------------------+-----------------------------------
 In MacRuby, NSObject and Object are supposed to be the same. However, the
 following code does not work with NSObject (but does with Object):
 {{{
 class NSObject # works if NSObject is changed to Object
   def self.func
   end
 end

 Class.func
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/186>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list