[ruby-cvs:51646] charliesome:r44501 (trunk): * struct.c (rb_struct_set): return assigned value from setter method

charliesome at ruby-lang.org charliesome at ruby-lang.org
Sat Jan 4 22:44:35 JST 2014


charliesome	2014-01-04 22:44:34 +0900 (Sat, 04 Jan 2014)

  New Revision: 44501

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

  Log:
    * struct.c (rb_struct_set): return assigned value from setter method
      rather than struct object. [Bug #9353] [ruby-core:59509]
    
    * test/ruby/test_struct.rb (test_setter_method_returns_value): add test

  Modified files:
    trunk/ChangeLog
    trunk/struct.c
    trunk/test/ruby/test_struct.rb


More information about the ruby-cvs mailing list