mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Try to avoid not delagated
error
``` .../ruby/lib/delegate.rb:405:in `__getobj__': not delegated (ArgumentError) ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190703T063006Z.fail.html.gz
This commit is contained in:
parent
89cef1c56b
commit
e44c9b1147
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ class Tempfile < DelegateClass(File)
|
||||||
|
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
def inspect
|
def inspect
|
||||||
if closed?
|
if @tmpfile.closed?
|
||||||
"#<#{self.class}:#{path} (closed)>"
|
"#<#{self.class}:#{path} (closed)>"
|
||||||
else
|
else
|
||||||
"#<#{self.class}:#{path}>"
|
"#<#{self.class}:#{path}>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue