Project

General

Profile

« Previous | Next » 

Revision 020cc0ad

Added by nobu (Nobuyoshi Nakada) over 11 years ago

string.c: compare with to_str

  • string.c (rb_str_cmp_m): try to compare with to_str result if
    possible before calling <=> method. [ruby-core:49279] [Bug #7342]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e