A test case for Gem::Package::Tar* classes
Allows writing of tar files
The StaticSet
is a static set of gem specifications used for testing only. It is available by requiring Gem::TestCase
.
Class
used to manage timeout handlers across multiple threads.
Timeout
handlers should be managed by using the class methods which are synchronized.
id = TimeoutHandler.register(10, Timeout::Error) begin sleep 20 puts 'foo' ensure TimeoutHandler.cancel(id) end
will raise Timeout::Error
id = TimeoutHandler.register(10, Timeout::Error) begin sleep 5 puts 'foo' ensure TimeoutHandler.cancel(id) end
will print ‘foo’
The PersonConstruct
module is used to define a Person Atom
element that can be used to describe a person, corporation, or similar entity
The PersonConstruct
has a Name
, Uri
, and Email
child elements