class

Golden::ReviewModel

Inherits Tea::Model < Reference < Object

Constructors

new(pending : Array(String), dir : String = Golden.dir)

Instance methods

actions
init
list
update(msg : Tea::Msg) : Tuple(Tea::Model, Tea::Cmd | Nil)

Update may return:

  • {Model, Cmd?} (native command flow)
  • {Model, Msg?} (Go-style convenience; message is wrapped as a Cmd)
  • Model (state change only; no command)
view