class Marten::Routing::Path::Spec::Translated
Overview
Represents a translated path specification.
A translated path specification is a path specification whose path can be translated into multiple locales. As such, it contains a mapping of locales to static path specifications that are determined by translating a translated path using the project's locales.
Defined in:
marten/routing/path/spec/translated.crConstructors
Instance Method Summary
-
#resolve(path : String) : Path::Match | Nil
Resolves the path against the path specification.
-
#reverser(name : String) : Reverser
Returns a reverser for the path specification.
Instance methods inherited from class Marten::Routing::Path::Spec::Base
resolve(path : String) : Path::Match | Nil
resolve,
reverser(name : String) : Reverser
reverser
Constructor Detail
Instance Method Detail
def resolve(path : String) : Path::Match | Nil
#
Description copied from class Marten::Routing::Path::Spec::Base
Resolves the path against the path specification.
Description copied from class Marten::Routing::Path::Spec::Base
Returns a reverser for the path specification.