summaryrefslogtreecommitdiff
path: root/lib/tempfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r--lib/tempfile.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 361d66491e..4fcd431ecd 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -381,13 +381,3 @@ def Tempfile.create(basename, *rest)
tmpfile
end
end
-
-if __FILE__ == $0
-# $DEBUG = true
- f = Tempfile.new("foo")
- f.print("foo\n")
- f.close
- f.open
- p f.gets # => "foo\n"
- f.close!
-end