From 494e2e4bfb28349a19b4503e37ac11509de1d50e Mon Sep 17 00:00:00 2001 From: Akshay Birajdar Date: Mon, 1 May 2023 16:02:38 +0530 Subject: [PATCH] [ruby/tempfile] Alias #to_s to #inspect https://github.com/ruby/tempfile/commit/e515889412 --- lib/tempfile.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 43174082a02572..2a21a427dbbcef 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -288,6 +288,7 @@ def inspect "#<#{self.class}:#{path}>" end end + alias to_s inspect protected