(doc) Fix variable name typo in custom function ruby exmple

There's no other reference to 'vals' and 'args' seems appropriate
so this was likely a typo.
Merge pull request #261 from rwstauner/fix/master/custom-function-example-var-name

(doc) Fix variable name typo in custom function ruby exmple