module Typhoeus::Hydras::EasyPool
def easy_pool
-
(Array)
- The easy pool.
Other tags:
- Example: Return easy pool. -
def easy_pool @easy_pool ||= [] end
def get_easy
-
(Ethon::Easy)
- The easy.
Other tags:
- Example: Return easy. -
def get_easy easy_pool.pop || Ethon::Easy.new end
def release_easy(easy)
- Example: Release easy. -
def release_easy(easy) easy.reset easy_pool << easy end