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

MacRuby ruby-noreply at macosforge.org
Tue Nov 16 17:46:17 PST 2010


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

Comment(by mrada@…):

 So it turns out the problem is occurring because I call super from my
 #initialization method (JIRA::JIRAService) and there is no #initialization
 in the parent class (Handsoap::Service). Once I remove this call, which I
 don't really need, everything works.

 However, if I try out a simple example that should reproduce this problem
 nothing bad happens (code executes fine).

 At this point, what is happening is beyond my current understanding of
 Ruby.

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



More information about the macruby-tickets mailing list