This is what I find myself doing sometimes. Say I have a list of arguments. In Lisp, I can go like
`(imaginary-function ,@args)
to call a function with an array converted from one element to the desired number of arguments.
Is there any similar functionality in Ruby? Or am I just using the completely wrong idiom here?
source
share