[MacRuby-devel] [MacRuby] #373: protected methods aren't

MacRuby ruby-noreply at macosforge.org
Fri Oct 9 11:57:55 PDT 2009


#373: protected methods aren't
---------------------------------+------------------------------------------
 Reporter:  chrisw@…             |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  blocker              |   Milestone:                       
Component:  MacRuby              |    Keywords:  protected access     
---------------------------------+------------------------------------------
 Working through a trivial variation on the example class presented in
 Chapter 3 of PragProg's Programming Ruby 1.9, I noticed that MacRuby 0.5
 beta 1 doesn't enforce protected protection status of a method.  It does
 however enforce private protection status.  I do not have this problem
 with the same code run by Ruby 1.8.7 as shipped with Mac OS X 10.6.  I
 presume that the example in the PragProg book is valid for Ruby 1.9.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/373>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list