method

before_dispatch

before_dispatch(*method_names, &block)
public

Declare a block to be called before each dispatch. Run in the order declared.