The list of HTTP request methods supported by HttpRouter.
# File lib/http_router/route.rb, line 13 def create_clone(new_router) r = clone r.dest = (begin; dest.clone; rescue; dest; end) r end
# File lib/http_router/route.rb, line 23 def matches_with(var_name) @match_with && @match_with[:"#{var_name}"] end
# File lib/http_router/route.rb, line 27 def name=(name) @name = name router.named_routes[name] << self if router end
# File lib/http_router/route.rb, line 19 def to_s "#<HttpRouter:Route #{object_id} @path_for_generation=#{path_for_generation.inspect}>" end