diff options
| author | Akshay Birajdar <akshaybirajdar05@gmail.com> | 2023-05-01 16:02:38 +0530 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-12-05 06:43:42 +0000 |
| commit | 494e2e4bfb28349a19b4503e37ac11509de1d50e (patch) | |
| tree | 1891aab19eb84e5478b671fd788a324fbe1fa6c4 | |
| parent | aec56594e78324366c4e248cc7de3a4bd4507679 (diff) | |
[ruby/tempfile] Alias #to_s to #inspect
https://github.com/ruby/tempfile/commit/e515889412
| -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 |
