module Rutter
HTTP router for Rack.
Constants
- VERBS
Supported request verbs.
@return [Array]
- VERSION
Current version number.
Public Class Methods
new(base: "http://localhost:9292", &block)
click to toggle source
Factory method for creating a new builder object.
@param base [String]
Base URL, used for generating URLs.
@yield
Executes the block inside the created builder context.
@see Rutter::Builder#initialize
# File lib/rutter.rb, line 22 def self.new(base: "http://localhost:9292", &block) Builder.new(base: base, &block) end