String#to_r to recognize negative denominators
Current behavior or
String#to_r does not recognize negative denominators. This can lead to confusing results:
"1/-3".to_r #=> (1/1)
I propose negative denominators to be recognized.
"1/-3".to_r #=> (-1/3)