aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-22 01:55:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-22 01:55:10 +0000
commit61cddf23421d4d0e3b414f99c13a570d822c57c5 (patch)
tree2a8312c38f087d1a188fb31004c7657c3629969a /lib
parent25ff76c3babe83980fd9d7c7f70244bcf238cfc8 (diff)
downloadruby-61cddf23421d4d0e3b414f99c13a570d822c57c5.tar.gz
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')
0 files changed, 0 insertions, 0 deletions