ajack (Jack Weeden)
- Login: ajack
- Email: jack@ajack.org
- Registered on: 04/13/2013
- Last sign in: 04/19/2013
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
04/19/2013
-
02:10 AM Ruby Feature #8262: Confusing "undefined method" exception when using - operator on a string
- OK, this makes perfect sense now! I'd never come across the "-@" syntax for unary operators. Thanks!
04/13/2013
-
01:17 AM Ruby Feature #8262 (Closed): Confusing "undefined method" exception when using - operator on a string
- When trying to use the minus operator (-) on a String, Ruby reports the following exception:
> -"5"
> ...
I'm not sure if this is intended behaviour but it was confusing as it led me to believe I was trying to call `-@"5"` rather tha...