[#172] Fixing to_hash method arity

Hello,
What do you think about this changes?

After all:
```
Finished in 0.40887 seconds
114 examples, 0 failures
```