struct

ParticipantView

Inherits Struct < Value < Object

What a participant is allowed to see of a session at a given moment. Built by Session#public_view so confidentiality is enforced at the source: before reveal, another participant's ranking is simply not put in the payload.

A participant's id is their secret WebSocket token, so it is deliberately absent here — the view carries only a non-secret you flag marking the viewer's own entry, never anyone's token.

Constructors

new(name : String, ready : Bool, ranking : Ranking | Nil, you : Bool)
Source

Instance methods

name
Source
ranking
Source
ready?
Source
you?
Source