enum

Arcana::Directory::Kind

Inherits Enum < Comparable < Value < Object

Constants

Agent = 0
Service = 1

Constructors

from_address(address : String) : self

Best-guess kind from address shape. Used as a fallback when the caller doesn't pass an explicit kind:. Precedence: @foo → Agent foo:x → Service foo → Service (bare non-colon defaults to service — a bare token is a Toolset or single-purpose service; agents require the @ sigil).

Source

Instance methods

agent?

Returns true if this enum value equals Agent

Source
service?

Returns true if this enum value equals Service

Source