Class WEBrick::HTTPServlet::ProcHandler
In: webrick/httpservlet/prochandler.rb
Parent: AbstractServlet

Methods

do_GET   do_POST   get_instance   new  

Public Class methods

[Source]

# File webrick/httpservlet/prochandler.rb, line 21
      def initialize(proc)
        @proc = proc
      end

Public Instance methods

[Source]

# File webrick/httpservlet/prochandler.rb, line 25
      def do_GET(request, response)
        @proc.call(request, response)
      end
do_POST(request, response)

Alias for do_GET

[Source]

# File webrick/httpservlet/prochandler.rb, line 17
      def get_instance(server, *options)
        self
      end

[Validate]

ruby-doc.org is a service of James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.