struct

Noir::EggRouterExtractor::Route

Inherits Struct < Value < Object

verb as written (get, del, resources, redirect, ...). handler is the last argument's text: controller.user.show, 'user.show' or an inline function.

Constructors

new(verb : String, path : String, handler : String, line : Int32)
Source

Instance methods

clone
Source
copy_with(verb _verb = @verb, path _path = @path, handler _handler = @handler, line _line = @line)
Source
handler
line
path
verb