Subject: Re: Local variable scope
From: Gavin Sinclair <gsinclair@ y e . m u
Date: Tue, 21 Jan 2003 08:55:08 +0900
References: 620936209662100621036210462108
In-reply-to: 62108
On Tuesday, January 21, 2003, 10:51:01 AM, Hal wrote:
> def foo(foobar)
> if foobar.nil?
> foobar*4
> else
> "foobar!"
> end
> end
s/if/unless