Module: HttpRouter::GenerationHelper

### Home Classes Methods

### In Files

- lib/http_router/generation_helper.rb

### Methods

- #max_param_count
- #param_names
- #path
- #url
- #url_ns

### Files

- LICENSE

### Class/Module Index

Quicksearch

- HttpRouter
- HttpRouter::GenerationHelper
- HttpRouter::Generator
- HttpRouter::Generator::PathGenerator
- HttpRouter::Node
- HttpRouter::Node::AbstractRequestNode
- HttpRouter::Node::FreeRegex
- HttpRouter::Node::Glob
- HttpRouter::Node::GlobRegex
- HttpRouter::Node::Host
- HttpRouter::Node::Lookup
- HttpRouter::Node::Path
- HttpRouter::Node::Regex
- HttpRouter::Node::RequestMethod
- HttpRouter::Node::Root
- HttpRouter::Node::Scheme
- HttpRouter::Node::SpanningRegex
- HttpRouter::Node::UserAgent
- HttpRouter::Node::Variable
- HttpRouter::RegexRouteGeneration
- HttpRouter::Request
- HttpRouter::Response
- HttpRouter::Route
- HttpRouter::RouteHelper
- HttpRouter::Util

No matching classes.

# HttpRouter::GenerationHelper

### Public Instance Methods

max_param_count() click to toggle source

    # File lib/http_router/generation_helper.rb, line 3
    def max_param_count
      @generator.max_param_count
    end

param_names() click to toggle source

    # File lib/http_router/generation_helper.rb, line 25
    def param_names
      @generator.param_names
    end

path(*args) click to toggle source

    # File lib/http_router/generation_helper.rb, line 19
    def path(*args)
      @generator.path(*args)
    rescue InvalidRouteException
      nil
    end

url(*args) click to toggle source

    # File lib/http_router/generation_helper.rb, line 7
    def url(*args)
      @generator.url(*args)
    rescue InvalidRouteException
      nil
    end

url_ns(*args) click to toggle source

    # File lib/http_router/generation_helper.rb, line 13
    def url_ns(*args)
      @generator.url_ns(*args)
    rescue InvalidRouteException
      nil
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.