module Roda::RodaPlugins::Hooks::InstanceMethods

def _roda_after_80__hooks(res)

Run after hooks.
def _roda_after_80__hooks(res)
  if b = opts[:after_hook]
    instance_exec(res, &b)
  end
end

def _roda_before_10__hooks

Run before hooks.
def _roda_before_10__hooks
  if b = opts[:before_hook]
    instance_exec(&b)
  end
end