= private = protected
open()
Opens or reopens the file with mode "r+".
# File lib/tempfile.rb, line 89 def open @tmpfile.close if @tmpfile @tmpfile = File.open(@tmpname, 'r+') @data[1] = @tmpfile __setobj__(@tmpfile) end