Module: FSDB::Modex::ForkSafely

Included in:
ForkSafely
Defined in:
lib/fsdb/modex.rb

Instance Method Summary collapse

Instance Method Details

#forkObject

:nodoc:



172
173
174
175
176
177
# File 'lib/fsdb/modex.rb', line 172

def fork # :nodoc:
  super do
    ObjectSpace.each_object(Modex) { |m| m.remove_dead }
    yield
  end
end