I need to define a rake task that can handle any amount of arguments, pretty much like variadic functions in C++. But I could not find a way to define it within rake's DSL.
How can I create a rake task which can handle any amount of arguments? An example will be useful.
Thanks!