On Thu, Oct 03, 2002 at 02:36:59AM +0900, Ben Schumacher wrote:
> Alexander Bokovoy wrote:
> >>Another one:
> >>
> >>def a
> >> b=2
> >>end
> >>
> >>a()
> >>puts b
> >>
> >>prints 2
> >
> >Also correct.
> >Remember that variables in Ruby has no 'local' context.
> 
> Ruby most certainly does have a 'local' context. The variable 'b' should 
> be local to the method 'a'.
Yes, forget about my response on it, too much work per day :(

-- 
/ Alexander Bokovoy
---
McDonald's -- Because you're worth it.