module Roda::RodaPlugins::StatusHandler::InstanceMethods

def _roda_after_20__status_handler(result)

If routing returns a response we have a handler for, call that handler.
def _roda_after_20__status_handler(result)
  if result && (meth = opts[:status_handler][result[0]]) && (v = result[2]).is_a?(Array) && v.empty?
    send(meth, result)
  end
end