[ruby-cvs:62950] shyouhei:r55786 (trunk): Object#clone with freeze: false [Feature #12300]

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Aug 1 14:55:35 JST 2016


shyouhei	2016-08-01 14:55:35 +0900 (Mon, 01 Aug 2016)

  New Revision: 55786

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

  Log:
    Object#clone with freeze: false [Feature #12300]
    
    * object.c (rb_obj_clone2): Allow Object#clone to take freeze:
      false keyword argument to not freeze the clone.
      	  [ruby-core:75017][Feature #12300]
    
     	* test/ruby/test_object.rb (TestObject): test for it.

  Modified files:
    trunk/ChangeLog
    trunk/object.c
    trunk/test/ruby/test_object.rb


More information about the ruby-cvs mailing list