From: Thomas Allen Date: 2010-04-22T00:45:11+09:00 Subject: Function accepting argument list or array How would I write a function that treats fn(:a, :b) the same as it does fn([:a, :b])? The only way I can do this right now is by checking if the first argument is an array, but I thought there was a simpler way to do this, involving the splat operator '*'. Thomas