From: Florian Frank Date: 2003-07-15T16:40:12+09:00 Subject: Re: help - calling methods in a hash with parameters On 2003-07-15 04:31:54 +0900, Tuan Bui wrote: > In other words, how do I pass a parameter to method two? An alternative to the possibilities already mentioned would be to just send (or __send__ if necesarry), the method name + parameters to the receiver: send myhash['bar'], "hello world" # outputs "hello world" -- Computer programming is an art, because it applies accumulated knowledge to the world, because it requires skill and ingenuity, and especially because it produces objects of beauty. Programmers who subconsciously view themselves as artists will enjoy what they do and will do it better. -- Donald Knuth, Computer Programming as an Art. Turing Award Speech