pmarreck (Peter Marreck)
- Login: pmarreck
- Email: lumbergh@gmail.com
- Registered on: 03/02/2013
- Last sign in: 03/02/2013
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
03/02/2013
-
04:27 AM Ruby Feature #7998 (Closed): "def" should return a value (the symbol of the method name) instead of nil
- The C code that implements Ruby method definitions already creates a symbol corresponding to the method name.
I propose that the "def... end" block returns this symbol.
This would allow the following elegant Ruby code:
protected...