class

ContributorMural::GridConfig

Inherits YAML::Serializable::Strict < YAML::Serializable < Reference < Object

Constructors

new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

avatar_size
Source
avatar_size=(avatar_size : Int32)
Source
columns
Source
columns=(columns : ColumnCount)
Source
columns_for(count : Int32) : Int32

How many columns count people are drawn in.

A written-down columns has always been a ceiling rather than a promise: three people have never been drawn four columns wide. auto keeps that and picks the ceiling too — the wall stays one row until max_columns, then splits into the fewest rows that hold everyone and shares them out evenly, so eleven people are 6 and 5 rather than 10 and a lone face underneath.

Source
margin
Source
margin=(margin : Int32)
Source
max_columns

The widest row columns: auto will draw, and read only then — a number under columns has already said how wide the wall gets.

Source
max_columns=(max_columns : Int32)

The widest row columns: auto will draw, and read only then — a number under columns has already said how wide the wall gets.

Source
shape
Source
shape=(shape : Shape)
Source
show_names=(show_names : Bool)
Source
show_names?
Source
truncate
Source
truncate=(truncate : Int32)
Source
validate
Source