#to_r easily confused with Numeric#to_r :(
yaauie opened this issue · 2 comments
yaauie commented
#to_r
means 'to rational' everywhere else. Perhaps supply a more descriptive method for clarity?
krainboltgreene commented
Good point, ruby tries to look for .to_regexp: http://www.ruby-doc.org/core-2.0.0/Regexp.html#method-c-try_convert
I'll have to push a new major version to fix this, but I was going to anyways.