Module: Typhoeus::Hydra::Runnable

Included in:
Typhoeus::Hydra
Defined in:
lib/typhoeus/hydra/runnable.rb

Overview

This module contains logic to run a hydra.

Since:

  • 0.5.0

Instance Method Summary collapse

Instance Method Details

#runSymbol

Start the hydra run.

Examples:

Start hydra run.

hydra.run

Returns:

  • (Symbol)

    Return value from multi.perform.

Since:

  • 0.5.0



13
14
15
16
# File 'lib/typhoeus/hydra/runnable.rb', line 13

def run
  dequeue_many
  multi.perform
end