diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2019-07-31 12:57:21 -0700 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-09-27 11:39:02 +0900 |
| commit | 9494ef8b2de3a7224eb85800606e7c046964cbd2 (patch) | |
| tree | d7a0a42148a614f23fcdd4a18b6bd2e96b77149d /spec/ruby/core | |
| parent | 02cd42050515b3af67396a25e78d948adcac6cdf (diff) | |
[ruby/fileutils] Do not break in verbose mode if using FileUtils with a frozen object
If FileUtils is included into another object, and verbose mode is
used, a FrozenError is currently raised unless the object has the
@fileutils_output and @fileutils_label instance variables.
This fixes things so that it does not attempt to set the instance
variables, but it still uses them if they are present.
https://github.com/ruby/fileutils/commit/689cb9c56a
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
