[MacRuby] #995: NoMethodError for initialization on MacRuby but works fine on CRuby

MacRuby ruby-noreply at macosforge.org
Sat Dec 4 08:56:06 PST 2010


#995: NoMethodError for initialization on MacRuby but works fine on CRuby
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |        Owner:  lsansonetti@…        
     Type:  defect                  |       Status:  reopened             
 Priority:  blocker                 |    Milestone:                       
Component:  MacRuby                 |   Resolution:                       
 Keywords:                          |  
------------------------------------+---------------------------------------

Comment(by mrada@…):

 The error will only occur if #initialize takes an argument.

 MRI does not raise an error in this case.

 If #initialize takes no arguments then everything is fine.

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



More information about the macruby-tickets mailing list