Class: Riddl::Parameter::Tempfile

Inherits:
Tempfile
  • Object
show all
Defined in:
lib/ruby/riddl/parameter.rb

Instance Method Summary collapse

Instance Method Details

#_closeObject



54
55
56
57
58
# File 'lib/ruby/riddl/parameter.rb', line 54

def _close
  @tmpfile.close if @tmpfile
  @data[1] = nil if @data
  @tmpfile = nil
end