Feature Request #2
Allow '?' and '!' in attr_accessor
| Status: | New | Start: | 02/26/2008 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | Core Class | Spent time: | - | |
| Target version: | - | |||
Description
Alter the attr_accessor method so that :foo? and :foo! are legal. The former would create a foo? and foo= method. The latter would create a foo! and foo= method.
Apply a similar change for attr_reader.