123456789_123456789_123456789_123456789_123456789_

Class: Tempfile::Closer

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: lib/tempfile.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(tmpfile) ⇒ Closer

[ GitHub ]

  
# File 'lib/tempfile.rb', line 299

def initialize(tmpfile)
  @tmpfile = tmpfile
end

Instance Method Details

#call(*args)

[ GitHub ]

  
# File 'lib/tempfile.rb', line 303

def call(*args)
  @tmpfile.close
end