diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-22 01:55:10 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-22 01:55:10 +0000 |
| commit | 80b8ee97948bba10ad8e9f769629e0c86923c389 (patch) | |
| tree | 2a8312c38f087d1a188fb31004c7657c3629969a /lib/webrick/httpserver.rb | |
| parent | f2c5146dc4e55db48310c62cef7cbcc9c2edc978 (diff) | |
object.c: refactor rb_obj_clone and rb_obj_clone2
* object.c (rb_obj_clone2): extract option for clone, and split by
whether the object is immutable or mutable.
* object.c (rb_obj_clone): no arguments, return immutable object
immediately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/httpserver.rb')
0 files changed, 0 insertions, 0 deletions
