Bump version to 0.2.4

- Merge 2nd pull request by [Nick den Engelsman][] - Thanks!
- Use standard Rubocop style guide
- Minor code cleanup