Borges::ActionCallback (Class)

In: lib/Borges/Callback/ActionCallback.rb
Parent: Object

Borges::ActionCallback is used by Borges::CallbackStore and Borges::HtmlRenderer to provide an callback that will be run when the form has completed processing.

CallbackStore enforces that only one ActionCallback will be called.


Public Class methods

Creates a new ActionCallback from block.

Public Instance methods

Sets this callback as store’s default action.