[ruby/tempfile] Alias #to_s to #inspect
https://github.com/ruby/tempfile/commit/e515889412
This commit is contained in:
parent
aec56594e7
commit
494e2e4bfb
@ -288,6 +288,7 @@ class Tempfile < DelegateClass(File)
|
||||
"#<#{self.class}:#{path}>"
|
||||
end
|
||||
end
|
||||
alias to_s inspect
|
||||
|
||||
protected
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user