Project

General

Profile

« Previous | Next » 

Revision 320ae01c

Added by shyouhei (Shyouhei Urabe) over 7 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e