diff options
author | Akshay Birajdar <[email protected]> | 2023-05-01 16:02:38 +0530 |
---|---|---|
committer | git <[email protected]> | 2023-12-05 06:43:42 +0000 |
commit | 494e2e4bfb28349a19b4503e37ac11509de1d50e (patch) | |
tree | 1891aab19eb84e5478b671fd788a324fbe1fa6c4 /lib | |
parent | aec56594e78324366c4e248cc7de3a4bd4507679 (diff) |
[ruby/tempfile] Alias #to_s to #inspect
https://github.com/ruby/tempfile/commit/e515889412
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tempfile.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 43174082a0..2a21a427db 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -288,6 +288,7 @@ class Tempfile < DelegateClass(File) "#<#{self.class}:#{path}>" end end + alias to_s inspect protected |