Module: Typhoeus::Hydra::Runnable Private

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

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

This module contains logic to run a hydra.

Since:

  • 0.5.0

Instance Method Summary collapse

Instance Method Details

#runSymbol

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Start the hydra run.

Examples:

Start hydra run.

hydra.run

Returns:

  • (Symbol)

    Return value from multi.perform.

Since:

  • 0.5.0



15
16
17
18
# File 'lib/typhoeus/hydra/runnable.rb', line 15

def run
  multi.prepare
  multi.perform
end