Borges::Controller (Class)

In: lib/Borges.rb
lib/Borges/Controller/Controller.rb
Parent: Object

External Aliases

new -> orig_new

Public Class methods

Public Instance methods

TODO make this a loop

Return control to caller

Called when a controller has completed, and needs to return a value.

Pass control

Called when a controller desires to pass control to another controller.

If no controller is specified, then self is being called. If self is not going to answer, then don’t save a continuation.

Otherwise, delegate to the controller passed in, then call it.

for compatibility

Will this component ever call answer? Used to optimize calling of Controllers.

Redefine to return false if this Controller will not call answer.

Will this component ever call call? Used to optimize calling of Controllers.

Redefine to return false if this Controller will not call call.

[Validate]