[ruby/tempfile] Alias #to_s to #inspect

https://github.com/ruby/tempfile/commit/e515889412
This commit is contained in:
Akshay Birajdar 2023-05-01 16:02:38 +05:30 committed by git
parent aec56594e7
commit 494e2e4bfb

View File

@ -288,6 +288,7 @@ class Tempfile < DelegateClass(File)
"#<#{self.class}:#{path}>"
end
end
alias to_s inspect
protected