From: "Kroeger Simon (ext)" Date: 2005-07-29T19:26:02+09:00 Subject: Re: [newbie] make local var visible > I think you have 2 options here (maybe more, but these are the ones I > can come up with as a newbie myself): > 1) pass foo as an argument. > def mfoo(foo) ... end > mfoo(foo) > 2) make foo an instance-variable > @foo = [..] > def mfoo > @foo.each... > end > > grtz, > wannes > or make it global (sigh): $foo Simon