From: David Morton Date: 2008-01-02T09:20:13+09:00 Subject: Re: another newbie question -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jan 1, 2008, at 5:19 PM, Kósa Márton wrote: > > Thank you very much. The $ sign is my friend here. > I'll not misuse it. > Something else to consider, if the data is related, is to put it into a hash and pass that: config = { :key => 'value', :foo => "bar", :someNumber => "56", 'someClass' => class1.new} def f(config) config['someClass'].some_method end David Morton Maia Mailguard http://www.maiamailguard.com mortonda@dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHeti/Uy30ODPkzl0RAn1TAJsEvlsOyqbYW1sA6qyJyszxXbN5TACfVzO9 E3SUegwXGrgTFMO+bnU8ja4= =Pam/ -----END PGP SIGNATURE-----