Class: Contender::ThreadFactory Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/contender/thread_factory.rb

Overview

This class is abstract.

Direct Known Subclasses

SimpleThreadFactory

Instance Method Summary collapse

Instance Method Details

#create { ... } ⇒ Thread

This method is abstract.

Yields:

Returns:

  • (Thread)

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/contender/thread_factory.rb', line 7

def create(&block)
  raise NotImplementedError
end