First page Back Continue Last page Overview Graphics


This works fairly well in practice, though it transforms the method argument into an array, when in this case we don't really want an array.

It also messes with the method's arity, and will silently ignore more than one argument, so it's not without some minor issues.

Thankfully, ruby has a cool hack that you can use that doesn't suffer from these drawbacks.