module

Hwaro::Models

Class methods

cache_bust_suffix(value : String) : String

Cache-busting query suffix shared by the asset/highlight tag emitters.

Source
integrity_attr(sri_root : String | Nil, path : String) : String

integrity="sha384-…" crossorigin="anonymous" for the file at path (an output-root URL path) under sri_root, the build output directory. "" when SRI is off (sri_root nil) or the file was not emitted.

Source
join_tags(*parts : String) : String

Join non-empty tag fragments with newlines.

Source

Nested types