Class: Tempfile::Remover
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/tempfile.rb |
Class Method Summary
- .new(path) ⇒ Remover constructor
Instance Method Summary
Constructor Details
.new(path) ⇒ Remover
Instance Method Details
#call(*args)
[ GitHub ]# File 'lib/tempfile.rb', line 313
def call(*args) return if @pid != Process.pid $stderr.puts "removing #{@path}..." if $DEBUG begin File.unlink(@path) rescue Errno::ENOENT end $stderr.puts "done" if $DEBUG end