class

Tinrelay::BootstrapPage

Inherits Reference < Object

Constants

ACTIONS = JOURNEY_ACTIONS.values.flatten.uniq
FLIGHT_PLAN_PAGE = "flight-plan"
JOURNEY_ACTIONS = {"already-aboard" => ["already-aboard", "open-the-schematics", "make-it-run", "name-the-ship", "keep-the-keys", "tune-the-radio", "hear-the-ping", "return-to-silence", "open-the-channel", "the-line-stays-open", "notes-from-the-mechanic"] of ::String, "first-light" => ["first-light", "talk-together", "find-a-place", "open-the-schematics", "make-it-run", "take-a-pulse", "name-the-ship", "keep-the-keys", "tune-the-radio", "hear-the-ping", "return-to-silence", "open-the-channel", "the-line-stays-open", "notes-from-the-mechanic"] of ::String}
JOURNEYS = JOURNEY_ACTIONS.keys
PAGE_KEYS = (["home", "meet", "not-found"] + ACTIONS).uniq

Constructors

new(common_path : String, source_repository : String, art_manifest : Tinrelay::ArtManifest = ArtManifest.empty)
Source

Class methods

action_allowed?(journey : String, action : String) : Bool
Source

Instance methods

agent_map
Source
asset(name : String) : String
Source
common_path
Source
flight_plan(coordinate : String | Nil = nil) : String
Source
html(markdown : String, noindex : Bool, alternate_path : String, page : String, listening_radios : Int32 = 0) : String
Source
markdown(coordinate : String | Nil = nil, action : String | Nil = nil, journey : String | Nil = nil, repeater_origin : String | Nil = nil) : String
Source
source_repository
Source
static(name : String) : String
Source