[MacRuby-devel] [macruby] #82: Klass#initialize should be called by Klass.alloc.init

macruby ruby-noreply at macosforge.org
Sat Jun 21 08:29:02 PDT 2008


#82: Klass#initialize should be called by Klass.alloc.init
---------------------------------+------------------------------------------
 Reporter:  psychs at limechat.net  |       Owner:  lsansonetti at apple.com
     Type:  defect               |      Status:  new                  
 Priority:  major                |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------
 {{{
 class A
   def initialize
     puts 'initialize'
   end
 end

 A.alloc.init
 }}}
 It should print "initialize".
 But now it prints nothing.

-- 
Ticket URL: <http://ruby.macosforge.org/trac/ticket/82>
macruby <http://ruby.macosforge.org/>


More information about the MacRuby-devel mailing list