From: Robert Klemme Date: 2007-01-18T02:15:06+09:00 Subject: Re: Passing math method to another method? On 17.01.2007 17:47, Kalman Noel wrote: > Robert Klemme: >> irb(main):003:0> def test(a,b,op) a.send(op.to_sym,b) end > ^^^^^^ >> => nil >> irb(main):004:0> test 1,2,"+" >> => 3 > > Any specific reason for to_sym's appearing there? Yes, my ignorance. :-) robert