avdi/keyword_params — pull request #3 by lmarburger (2011-10-10 03:40:19+00:00)
Title: Prefer keyword params if present

This commit was merely an excuse to play around with this code to see how it works. I'm not saying this feature would be useful just that it was a learning exercise. The code itself isn't great as `#values` mutates `args` that are passed to it, but that's not difficult to fix.

I was curious how hard it'd be to turn this:

```@ruby
b.explain 'meow', the: "cat" # => "the meow says moo"
```

Into this:

```@ruby
b.explain 'meow', the: "cat" # => "the cat says meow"
```