Fix tiny inconsistencies

I fixed two small inconsistencies (the first one was a minor spacing problem and the second an expansion of a multi-line block to a `do` and `end` block instead of `{` and `}`).

*Also, would you mind if I create another Pull Request wrapping this small app so it can be deployed by you to RubyGems? The name `hashdata` is available.*