Sha256: 9643f6085f7f6fdb58a2ee5be65a046ee9039de85c68a7a7863f57cd16c1942b
Contents?: true
Size: 633 Bytes
Versions: 43
Compression:
Stored size: 633 Bytes
Contents
module Rex module Proto module Http ### # # This class acts as the base class for all handlers. # ### class Handler require 'rex/proto/http/handler/erb' require 'rex/proto/http/handler/proc' # # Initializes the handler instance as being associated with the supplied # server. # def initialize(server) self.server = server end # # By default, handlers do not require a relative resource. # def self.relative_resource_required? false end # # Calls the class method. # def relative_resource_required? self.class.relative_resource_required? end protected attr_accessor :server # :nodoc: end end end end
Version data entries
43 entries across 43 versions & 1 rubygems