Clean up all minor code issues.

Thanks to PullReview.

- Add underscores to large numeric literals to improve their readability.
- Extra blank line detected.
- Extra blank line detected at body beginning.
- Extra blank line detected at body end.
- Ruby 18 hash syntax detected.