Update ruby.rb

Use symbol-to-proc whenever possible.