Jim Weirich wrote: > Fixing your example to use send would be: > > puts((1..10).collect{|n| n.send((times =~ /^t/ ? "*" : "+"), number) > }.join(",")) Just another data point. It looks like you can also use "method" and "call"... puts((1..10). collect{|n| n.method(times =~ /^t/ ? (:*):(:+)).call(number) }. join(", ")) Greg Buchholz