module Roda::RodaPlugins::BeforeHook::InstanceMethods

def _roda_before

overridden by Roda.def_roda_before.
Default empty implementation of _roda_before, usually
def _roda_before
end

def _roda_run_main_route(r)

roda route.
Run internal before hooks before running the main
def _roda_run_main_route(r)
  _roda_before
  super
end

def call(&block)

Run internal before hooks - Old Dispatch API.
def call(&block)
  # RODA4: Remove
  super do
    _roda_before
    instance_exec(@_request, &block) # call Fallback
  end
end