Closed thegedge closed 7 years ago
I'm ok with this. Case sensitivity was added after and could probably be better thought out.
Completed over several PRs (mostly https://github.com/Shopify/measured/pull/53 and https://github.com/Shopify/measured/pull/29)
Use something other than
case_sensitive
as state forConversion
. Some ideas include:Conversion
that can be overridden by another class (e.g.,CaseSensitiveConversion
would be the identity function andCaseInsensitiveConversion
would be#downcase
)