[MacRuby] #333: Class initialize method is not called

MacRuby ruby-noreply at macosforge.org
Sat Dec 4 20:41:33 PST 2010


#333: Class initialize method is not called
-----------------------------------+----------------------------------------
 Reporter:  ehynes@…               |        Owner:  lsansonetti@…        
     Type:  defect                 |       Status:  closed               
 Priority:  minor                  |    Milestone:                       
Component:  MacRuby                |   Resolution:  invalid              
 Keywords:                         |  
-----------------------------------+----------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 +initialize will not be called for Ruby classes. You should perform that
 logic in the class scope itself.

 {{{
 class Foo
   init_stuff_here

   …
 end
 }}}

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



More information about the macruby-tickets mailing list