method

call_callback

ruby latest stable - Class: WEBrick::HTTPServlet::FileHandler

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

call_callback(callback_name, req, res)
private

No documentation available.

# File lib/webrick/httpservlet/filehandler.rb, line 370
      def call_callback(callback_name, req, res)
        if cb = @options[callback_name]
          cb.call(req, res)
        end
      end