Closed gizmoguy closed 8 years ago
Sorry submitting on a different PR to #12 but I messed up my rebase.
I've performed the changes asked for and added a bunch of tests because I didn't have any machines to test on with older ruby versions.
I'll also look into fixing the lint issues picked up by rubocop.
Other then the rubocop errors, it looks good to me.
Fixed most of them.
What do we think about "Style/RegexpLiteral: Use %r around regular expression.".
Usually I prefer using slashes as the regexp delimiter?
I always go with the community recommendation. Unless you have a really good reason not to.
Its much cleaner if you don't have to use the escapes. Escapes make it harder to read.
Force of habit really, which isn't a good enough reason.
I have now fixed all rubocop issues and tests seem to all pass now.
Super. Thanks for the contribution!