Method: Tap::App::Stack#call

Defined in:
lib/tap/app/stack.rb

#call(task, input) ⇒ Object

Checks app for termination and then calls the task with the input:

task.call(input)


18
19
20
21
# File 'lib/tap/app/stack.rb', line 18

def call(task, input)
  app.check_terminate
  task.call(input)
end