Module: Together

Defined in:
lib/together.rb,
lib/together/results.rb,
lib/together/version.rb,
lib/together/executor.rb,
lib/together/exceptions.rb

Defined Under Namespace

Classes: Executor, Results, TimeoutError

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.call(*mandates, timeout: 1, raise_exceptions: true) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/together.rb', line 10

def self.call(*mandates,
              timeout: 1,
              raise_exceptions: true)

  Executor.(mandates,
            timeout: timeout,
            raise_exceptions: raise_exceptions)
end