Ticket #373 (closed defect: fixed)
protected methods aren't
| Reported by: | chrisw@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.5 |
| Component: | MacRuby | Keywords: | protected access |
| Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.

