Module: HyperThread

Defined in:
lib/hyper_thread.rb,
lib/hyper_thread/pool.rb,
lib/hyper_thread/thread.rb,
lib/hyper_thread/version.rb

Overview

I basically was refactoring the ThreadPool in BetterCap and made this.

Defined Under Namespace

Classes: HThread, Pool

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.easter_eggObject



14
15
16
17
18
# File 'lib/hyper_thread.rb', line 14

def self.easter_egg
  require 'lolize/auto'
rescue
  raise "Please install lolize!\n$ gem install lolize"
end

.poolObject



20
21
22
# File 'lib/hyper_thread.rb', line 20

def self.pool
  Pool
end

.threadObject



24
25
26
# File 'lib/hyper_thread.rb', line 24

def self.thread
  HThread
end