From: Yukihiro Matsumoto Date: 2005-07-29T22:46:35+09:00 Subject: Re: [newbie] make local var visible Hi, In message "Re: [newbie] make local var visible" on Fri, 29 Jul 2005 20:09:51 +0900, "Pe�a, Botp" writes: |Hi Brian/Cristi/Wannes/Kroeger/Kero, and others, | |Yes. I've done what you have all suggested. Thank you. |But I was hoping for something "cleaner". Sorry. | |Can we request RCR for this? How about using class variables? module FooTest @@foo=["a","b","c"] def mfoo @@foo.each do |f| p f end end end "@@foo" can be accessed from anywhere in the FooTest body. matz.