Here is a patch which implements the CreationError exception class,
as documented in the Tempfile API documentation. However,
I could not write a unit test for it because there seems
to be no mocking/stubbing framework that I could use.
Originally [ruby-core:25131] and patch is there.
Updated by mame (Yusuke Endoh) over 9 years ago
- Category changed from ext to lib
- Assignee set to mame (Yusuke Endoh)
Hi, Hongli Lai --
Could you elaborate the background of introducing Tempfile::CreationError?
I'm not against the suggestion, but I cannot guess the rationale.
This ticket has been already left untouched in a half year. If you don't
answer in three days, I'll reject the ticket.
Yusuke Endoh email@example.com