[ruby-cvs:56295] nobu:r49145 (trunk): ostruct.rb: append suffixes to protected methods

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Jan 5 10:57:27 JST 2015


nobu	2015-01-05 10:57:26 +0900 (Mon, 05 Jan 2015)

  New Revision: 49145

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

  Log:
    ostruct.rb: append suffixes to protected methods
    
    * lib/ostruct.rb (modifiable?, new_ostruct_member!, table!):
      append suffixes to protected methods so that they will not clash
      with assigned members.  [Fix GH-806]

  Modified files:
    trunk/ChangeLog
    trunk/lib/ostruct.rb
    trunk/test/ostruct/test_ostruct.rb


More information about the ruby-cvs mailing list