antirez/redis-doc — pull request #141 by msonnabaum (2012-07-17 19:19:34+00:00)
Title: Fix bug in Ruby EVAL example.

I had trouble getting the ruby example working, and if I'm reading it right, ruby-rb appears to not accept the second "number of args" arg.

https://github.com/redis/redis-rb/blob/master/lib/redis.rb#L2112

It also wants keys and args as either arrays or keyed. Once I made the following changes, the example works as expected for me.