1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
Jeremy Evans 4f7b435c95 Support obj.clone(freeze: true) for freezing clone
This freezes the clone even if the receiver is not frozen.  It
is only for consistency with freeze: false not freezing the clone
even if the receiver is frozen.

Because Object#clone is now partially implemented in Ruby and
not fully implemented in C, freeze: nil must be supported to
provide the default behavior of only freezing the clone if the
receiver is frozen.

This requires modifying delegate and set, to set freeze: nil
instead of freeze: true as the keyword parameter for
initialize_clone.  Those are the two libraries in stdlib that
override initialize_clone.

Implements [Feature #16175]
2020-03-22 09:30:07 -07:00
..
benchmark Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
bundler Specify explicit separator not to be affected by $; 2020-03-08 17:38:37 +09:00
cgi Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
csv
delegate Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
did_you_mean
drb
forwardable
getoptlong Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
irb Ignore incompatible convert of symbols 2020-03-03 15:27:23 +09:00
logger Suppress security alerts 2020-02-28 21:05:08 -08:00
matrix
net Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
observer Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
open3 Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
optparse
ostruct
pstore Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
racc Merge racc from upstream repository. 2020-02-27 13:33:51 +09:00
rdoc Specify explicit separator not to be affected by $; 2020-03-08 17:38:37 +09:00
reline
rinda
rubygems Specify explicit separator not to be affected by $; 2020-03-08 17:38:37 +09:00
singleton Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
timeout Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
tracer
unicode_normalize
uri Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
weakref Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
webrick
yaml Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
.document
abbrev.rb
base64.rb
benchmark.rb
bundler.rb
cgi.rb
csv.rb
debug.rb
delegate.rb Support obj.clone(freeze: true) for freezing clone 2020-03-22 09:30:07 -07:00
did_you_mean.rb
drb.rb
English.gemspec Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
English.rb
erb.rb
fileutils.gemspec
fileutils.rb
find.rb
forwardable.rb
getoptlong.rb
ipaddr.gemspec Suppress security alerts 2020-02-28 21:05:08 -08:00
ipaddr.rb
irb.rb
logger.rb
matrix.rb
mkmf.rb Specify explicit separator not to be affected by $; 2020-03-08 17:38:37 +09:00
mutex_m.gemspec
mutex_m.rb
observer.rb
open-uri.rb
open3.rb
optionparser.rb
optparse.rb
ostruct.rb
pp.rb
prettyprint.rb
prime.gemspec
prime.rb Improve docs for Prime.{prime_division,int_from_prime_division} (#8) 2020-03-06 20:55:22 +09:00
pstore.rb
racc.rb
rdoc.rb
readline.gemspec
readline.rb
reline.rb
resolv-replace.rb
resolv.rb
rss.rb
rubygems.rb
securerandom.rb
set.rb Support obj.clone(freeze: true) for freezing clone 2020-03-22 09:30:07 -07:00
shellwords.rb
singleton.rb
tempfile.gemspec Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
tempfile.rb
time.rb
timeout.rb
tmpdir.gemspec Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
tmpdir.rb
tracer.rb
tsort.rb
un.rb
uri.rb
weakref.rb
webrick.rb
yaml.rb