aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tempfile.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-30 14:14:15 +0900
committergit <svn-admin@ruby-lang.org>2023-04-13 09:49:14 +0000
commit8b924ebdf25fd77250d6ab69f162a2ab7fc888fc (patch)
treeda0d4a15980e09dce2646939565a0654ba5e7b90 /lib/tempfile.rb
parent84d11498c2198659ae2771dcdad09b1a4a4769d0 (diff)
downloadruby-8b924ebdf25fd77250d6ab69f162a2ab7fc888fc.tar.gz
[ruby/tempfile] Expose Tempfile::VERSION
https://github.com/ruby/tempfile/commit/6aa1f37dc4
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r--lib/tempfile.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 1bb13e9501..d53d8c7196 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -88,6 +88,8 @@ require 'tmpdir'
# mutex.
class Tempfile < DelegateClass(File)
+ VERSION = "0.1.3"
+
# Creates a file in the underlying file system;
# returns a new \Tempfile object based on that file.
#