struct

Noir::FileUrlScanner::BaseUrl

Inherits Struct < Value < Object

The -u/--url base a URL literal is matched against: its origin and its path without a trailing slash ("" for a root base).

Constructors

new(origin : String | Nil, path : String)
Source
parse(url : String) : BaseUrl
Source

Instance methods

clone
Source
copy_with(origin _origin = @origin, path _path = @path)
Source
origin
path