eddyluten (Eddy Luten)
- Login: eddyluten
- Email: eddyluten@gmail.com
- Registered on: 11/05/2015
- Last sign in: 01/19/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/10/2015
-
07:56 PM Ruby Bug #11661: sprintf causes a KeyError instead of using a default value for hash substitution
- Hans Mackowiak wrote:
> hm might it be possible that sprintf only uses default value/or default proc if the hash does has default,
> ...
Nobuyoshi Nakada: this was the change I initially made myself but couldn't get it to work properly...
11/05/2015
-
08:48 PM Ruby Bug #11661 (Closed): sprintf causes a KeyError instead of using a default value for hash substitution
- When using a format string that substitutes hash values (or using the `%` operator on a string), instead of using the Hash's default value if a key is not present, it causes a KeyError.
As an end-user, to get around this, my hash need...