Class: V::Worker::Group

Inherits:
ThreadGroup
  • Object
show all
Includes:
Singleton
Defined in:
lib/v/worker.rb

Instance Method Summary collapse

Instance Method Details

#encloseObject



6
7
8
9
10
11
12
# File 'lib/v/worker.rb', line 6

def enclose
  super

  list.
    each { |worker| worker.stop! }.
    each { |worker| worker.join }
end