2011/9/13 Marc-Andre Lafortune <ruby-core / marc-andre.ca>:
> Use `Float#rationalize` instead of `to_r`, and you will get the same resu=
lt as `String#to_r`.
> I've argued before that `Float#to_r` should be `Float#rationalize`, thoug=
h.

It is http://redmine.ruby-lang.org/issues/1408

--=20
NARUSE, Yui =A0<naruse / airemix.jp>