Tempfile with a certain suffix

Hi,

is there a way in ruby to create a tempfile with a certain suffix, say
“.html”?
I can of course rename my created tempfile but then I have to take care
for deleting the file.

Thomas

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs