Sha256: 5c6bb3d7a392a456b555161eda9d3d165468026d9e0d7d45392984872925b40f

Contents?: true

Size: 230 Bytes

Versions: 8

Compression:

Stored size: 230 Bytes

Contents

require 'slave'
#
# at_exit hanlders are handled correctly in both child and parent 
#
  at_exit{ p 'parent' }
  slave = Slave.new{ at_exit{ p 'child' };  'the server is this string' }
#
# this will print 'child', then 'parent'
#

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
slave-1.3.2 samples/d.rb
slave-1.3.1 samples/d.rb
slave-1.3.0 samples/d.rb
slave-1.2.2 samples/d.rb
slave-1.0.0 samples/d.rb
slave-1.2.0 samples/d.rb
slave-1.2.1 samples/d.rb
slave-1.1.0 samples/d.rb