class

Hwaro::Assets::Sass::MapV

Inherits Hwaro::Assets::Sass::Value / Reference / Object

Constructors

new(entries : Array(MapEntry))
Source

Instance methods

[]?(key : Value) : Value | Nil
Source
entries
Source
eq?(other : Value) : Bool

Sass equality (==). Subclasses override; default is identity on serialized text.

Source
inspect_css

Entry values go through inspect_css so a comma list or nested map stays parseable as one entry — with to_css the commas of a nested list merge into the map's own separator and the text no longer re-parses as a map.

Source
to_css

CSS text for this value (what lands in output).

Source