[MacRuby-devel] [MacRuby] #370: Inconsistency between macruby and ruby in a simple class

MacRuby ruby-noreply at macosforge.org
Fri Oct 9 02:18:22 PDT 2009


#370: Inconsistency between macruby and ruby in a simple class
-----------------------------------+----------------------------------------
 Reporter:  kfowler@…              |       Owner:  lsansonetti@…        
     Type:  defect                 |      Status:  new                  
 Priority:  major                  |   Milestone:  MacRuby 0.5          
Component:  MacRuby                |    Keywords:                       
-----------------------------------+----------------------------------------

Comment(by kfowler@…):

 "return self" appears to be a work around:
 {{{
   def initialize(m)
     @m = m
     return self
   end
 }}}

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



More information about the MacRuby-devel mailing list