| In: |
lib/Borges.rb
lib/Borges/Controller/Controller.rb |
| Parent: | Object |
Returns the default session class for controllers. Subclasses of Controller may wish to override this method.
Returns the controller that is at the top of the controller stack. The active controller is the controller that will rendered and returned to the user.
Controllers are added to the controller stack via call
Return control to the controller that called this controller passing it value or nil.
Call answer when a controller’s activities is complete.
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.
Display a confirmation page, asking the user to confirm message. Returns true if the user confirmed, false if not.
Requests the user to provide an input, providing them with a message, an input box with the initial value value, and a submit button labeled label.
Will this component ever call answer? Used to optimize calling of Controllers.
Redefine to return false if this Controller will never call answer.
Will this component ever call call? Used to optimize calling of Controllers.
Redefine to return false if this Controller will never call call.