struct
Obsctl::TUI::Model
- Obsctl::TUI::Model
- Struct
- Value
- Object
Overview
Immutable view model consumed by TUI renderers.
Defined in:
obsctl/tui/model.crConstructors
Instance Method Summary
- #clone
- #command_line : String
- #copy_with(snapshot _snapshot = @snapshot, command_line _command_line = @command_line, last_result _last_result = @last_result, logs _logs = @logs)
- #last_result : String | Nil
- #logs : Array(String)
- #snapshot : OBS::State::ObsSnapshot | Nil
Constructor Detail
def self.new(snapshot : OBS::State::ObsSnapshot | Nil, command_line : String = "", last_result : String | Nil = nil, logs : Array(String) = [] of String)
#
Instance Method Detail
def copy_with(snapshot _snapshot = @snapshot, command_line _command_line = @command_line, last_result _last_result = @last_result, logs _logs = @logs)
#