alias Yeager::Routes

Overview

Holds the defined routes with Yeager::Router.add

For given example;

require "yeager"
router = Yeager::Router.new
router.add "/foo/:hello"
router.add "/bar"

Routes will be;

{
  "/foo/:hello" => ["foo", ":hello"],
  "/bar"        => ["bar"],
}

Alias Definition

Hash(String, Array(String))

Defined in:

yeager.cr