docopt/docopt.rb — pull request #20 by miguelcnf (2014-10-23 15:50:29+00:00)
Title: Convert params hash to symbols prior to merging.

Fixes #19:

``` ruby
[1] pry(main)> default = {:version => nil, :argv => nil, :help => true}
=> {:version=>nil, :argv=>nil, :help=>true}
[2] pry(main)> params = {'version' => '1.0.0'}
=> {"version"=>"1.0.0"}
[3] pry(main)> params = default.merge(params.inject({}){|tmp,(k,v)| tmp[k.to_sym] = v; tmp})
=> {:version=>"1.0.0", :argv=>nil, :help=>true}
```