------art_61666_25832709.1168640715869
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 1/12/07, Keith Fahlgren <keith / audiobeta.com> wrote:
>
> Just to be explicit, it's both 'nil' or 'false' that will be reset to
> the new value:
>
> irb(main):001:0> f  alse
> false
> irb(main):003:0> f || 
> 1
> irb(main):004:0> f
> 1    # was set
> irb(main):002:0> n  il
> nil
> irb(main):005:0> n || 
> 1
> irb(main):006:0> n
> 1    # was set
> irb(main):007:0> t  rue
> true
> irb(main):008:0> t || 
> true
> irb(main):009:0> t
> true  # wasn't set
>
> HTH,
> Keith


Wow thanks, I thought I understood it before, but that example really spells
it out explicitly.

------art_61666_25832709.1168640715869--