struct

ContributorMural::ColumnCount

Inherits Struct < Value < Object

A grid width: a fixed number of columns, or auto to let the headcount decide.

Its own type rather than a nilable Int32, because nil already means "the key was left out" everywhere else in this file, and auto is the opposite of that — a decision written down, asking the wall to re-decide its width every time the list grows.

Constants

AUTO = "auto"

Constructors

auto
Source
new(fixed : Int32 | Nil)
Source

Instance methods

auto?
Source
fixed

nil is auto: no width was named, so the renderer picks one per wall.

Source
to_yaml(yaml : YAML::Nodes::Builder) : Nil
Source