[ruby-cvs:54387] nobu:r47239 (trunk): compar.c: use Module#to_s

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Aug 21 13:39:40 JST 2014


nobu	2014-08-21 13:39:32 +0900 (Thu, 21 Aug 2014)

  New Revision: 47239

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47239

  Log:
    compar.c: use Module#to_s
    
    * compar.c (rb_cmperr): use Module#to_s so that names in a message
      can be overridden by to_s.

  Modified files:
    trunk/compar.c
    trunk/test/ruby/test_comparable.rb


More information about the ruby-cvs mailing list