From 494e2e4bfb28349a19b4503e37ac11509de1d50e Mon Sep 17 00:00:00 2001 From: Akshay Birajdar Date: Mon, 1 May 2023 16:02:38 +0530 Subject: [ruby/tempfile] Alias #to_s to #inspect https://github.com/ruby/tempfile/commit/e515889412 --- lib/tempfile.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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 -- cgit v1.2.3