Module: Threadify

Defined in:
lib/threadify.rb

Defined Under Namespace

Classes: Error

Constant Summary collapse

VERSION =
'1.4.5'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.abort_on_exceptionObject

Returns the value of attribute abort_on_exception.



18
19
20
# File 'lib/threadify.rb', line 18

def abort_on_exception
  @abort_on_exception
end

.strategyObject

Returns the value of attribute strategy.



19
20
21
# File 'lib/threadify.rb', line 19

def strategy
  @strategy
end

.threadsObject

Returns the value of attribute threads.



17
18
19
# File 'lib/threadify.rb', line 17

def threads
  @threads
end

Class Method Details

.descriptionObject



5
6
7
# File 'lib/threadify.rb', line 5

def Threadify.description
  'makes it stupid easy to process a bunch of data using n worker threads'
end

.versionObject



3
# File 'lib/threadify.rb', line 3

def Threadify.version() Threadify::VERSION end