Module: Hopscotch::Runner

Extended by:
Runner
Included in:
Runner
Defined in:
lib/hopscotch.rb

Instance Method Summary collapse

Instance Method Details

#call(fn, failure:, success:) ⇒ Object



12
13
14
# File 'lib/hopscotch.rb', line 12

def call(fn, failure:, success:)
  Hopscotch::Runners::Default.call(fn, failure: failure, success: success)
end

#call_each(*fns, failure:, success:) ⇒ Object



16
17
18
# File 'lib/hopscotch.rb', line 16

def call_each(*fns, failure:, success:)
  Hopscotch::Runners::Default.call_each(*fns, failure: failure, success: success)
end