From: Sebastian Hungerecker Date: 2007-09-03T20:58:18+09:00 Subject: Re: assigning to hash keys when there is a default value? Russell Norris wrote: > x ||= y just means give me x or set x to y if there's no value for x. Maybe it does, but if we follow the logic that x op= y is a shortcut for x = x op y, what it *should* mean is: set x to y if there's no value for x, otherwise set it to itself. -- NP: Graveworm - I - The Machine Jabber: sepp2k@jabber.org ICQ: 205544826