ruby call method with array arguments