Class Tap::App::Stack
In: lib/tap/app/stack.rb
Parent: Object

The base of the application call stack.

Methods

call   new  

Attributes

app  [R]  The application using this stack.

Public Class methods

[Source]

    # File lib/tap/app/stack.rb, line 10
10:       def initialize(app)
11:         @app = app
12:       end

Public Instance methods

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

  task.call(input)

[Source]

    # File lib/tap/app/stack.rb, line 18
18:       def call(task, input)
19:         app.check_terminate
20:         task.call(input)
21:       end

[Validate]