Project

General

Profile

Actions

Feature #12300

closed

Updated by shyouhei (Shyouhei Urabe) about 9 years ago

Sounds much simpler than the previous one to understand what is happening. Also it seems backwards-compatible.

Given the needs of this kind, I'd like to +1.

Updated by matz (Yukihiro Matsumoto) almost 9 years ago

Sounds reasonable.

Matz.

Updated by shyouhei (Shyouhei Urabe) almost 9 years ago

  • Status changed from Open to Closed

Applied in changeset r55786.


Object#clone with freeze: false [Feature ]

* 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.
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0