Class: HttpRouter::Node::Host

Inherits:
AbstractRequestNode show all
Defined in:
lib/http_router/node/host.rb

Instance Attribute Summary

Attributes inherited from AbstractRequestNode

#request_method, #tests

Attributes inherited from HttpRouter::Node

#router

Instance Method Summary collapse

Methods inherited from AbstractRequestNode

#inspect_label, #to_code, #usable?

Methods inherited from HttpRouter::Node

#add_destination, #add_free_match, #add_glob, #add_glob_regexp, #add_host, #add_lookup, #add_match, #add_request_method, #add_scheme, #add_spanning_match, #add_user_agent, #add_variable, #depth, #inspect, #inspect_label, #inspect_matchers_body, #usable?

Constructor Details

#initialize(router, parent, hosts) ⇒ Host

Returns a new instance of Host.



4
5
6
# File 'lib/http_router/node/host.rb', line 4

def initialize(router, parent, hosts)
  super(router, parent, hosts, :host)
end