struct

Ranking

Inherits Struct < Value < Object

A participant's complete ordering of the ten cards, most important first. Value object: it enforces its own invariants and is immutable once built.

Constructors

new(order : Array(Motivator))
Source

Instance methods

order
Source
position(motivator : Motivator) : Int32

1-based rank of a card: 1 is most important, 10 is least.

Source