[ruby-cvs:59109] nobu:r51958 (trunk): class.c: refine error messages

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Sep 27 23:32:52 JST 2015


nobu	2015-09-27 23:32:50 +0900 (Sun, 27 Sep 2015)

  New Revision: 51958

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

  Log:
    class.c: refine error messages
    
    * class.c (rb_define_class, rb_define_class_id_under): refine
      error messages.
    * class.c (rb_define_module, rb_define_module_id_under): ditto,
      and make consistent with class.

  Modified files:
    trunk/ChangeLog
    trunk/class.c
    trunk/test/ruby/test_class.rb
    trunk/test/ruby/test_module.rb


More information about the ruby-cvs mailing list