Ruby:
- DRYed out code by removing repeated "app", "grant", and "both" strings to check range type with constants FileRange.app_key, FileRange.grant_key, and FileRange.both_key.
- Started working on better arguments parser error reporting, as these error messages could be helpful to the end user.
Nice! How fortunate you are to be working with a pro ;-)
ReplyDelete