struct

Obsctl::Domain::CommandResult

Inherits Struct < Value < Object

Text result returned by command handlers for display-oriented clients.

Constructors

failed(message : String) : self

Builds a failed command result.

Source
new(ok : Bool, message : String)
Source
ok(message : String) : self

Builds a successful command result.

Source

Instance methods

clone
Source
copy_with(ok _ok = @ok, message _message = @message)
Source
message
ok