Class: HttpRouter::Node::Scheme

Inherits:
AbstractRequestNode show all
Defined in:
lib/http_router/node/scheme.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, schemes) ⇒ Scheme

Returns a new instance of Scheme.



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

def initialize(router, parent, schemes)
  super(router, parent, schemes, :scheme)
end