• Yukihiro "Matz" Matsumoto's avatar
    Recover `#to_int`; ref #4177 · e6903145
    Yukihiro "Matz" Matsumoto authored
    We have removed implicit conversion to strings using `to_int`. But some
    users still using `to_int` as a typical integer method, i.e. they do
    string check by code like: `obj.respond_to?(:to_int)`. So we have
    recovered the method.
    e6903145
numeric.c 35.8 KB