From: Boris Schmid Date: 2008-01-30T07:18:55+09:00 Subject: applying a random method to an object A weblog showed that .methods could be sorted and behaved like an array (which I had not noticed before). Now I'm trying (somewhat unsuccesfully) to find a way (including google and the ruby doc) to apply for example a randomly selected method to an object. example: array = [:to_s,:next,:to_f] 15.array.shuffle.first but this doesn't work. Is there a way? -- Posted via http://www.ruby-forum.com/.