module 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