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
- .new(tmpfile) ⇒ Closer constructor
Instance Method Summary
Constructor Details
.new(tmpfile) ⇒ Closer
# File 'lib/tempfile.rb', line 298
def initialize(tmpfile) @tmpfile = tmpfile end
Instance Method Details
#call(*args)
[ GitHub ]# File 'lib/tempfile.rb', line 302
def call(*args) @tmpfile.close end