Sha256: 28ca313c8db6f100acb71dbf683731f25243d21f9c291ccb465eded88f09aed7
Contents?: true
Size: 363 Bytes
Versions: 15
Compression:
Stored size: 363 Bytes
Contents
# This is myserver.rb, an example server that is to be controlled by daemons # and that does nothing really useful at the moment. # # Don't run this script by yourself, it can be controlled by the ctrl*.rb scripts. loop do puts 'ping from myserver.rb!' puts 'this example server will crash in 10 seconds...' sleep(10) puts 'CRASH!' fail 'CRASH!' end
Version data entries
15 entries across 13 versions & 4 rubygems