module RatatuiRuby::Tea
The Elm Architecture for RatatuiRuby.
Building TUI applications means managing state, events, and rendering. Mixing them leads to spaghetti code. Bugs hide in the tangles.
This module implements The Elm Architecture (TEA). It separates your application into three pure functions: model, view, and update. The runtime handles the rest.
Use it to build applications with predictable, testable state management.
Constants
- VERSION
-
The version of this gem. See semver.org/spec/v2.0.0.html
Public Class Methods
Source
# File lib/ratatui_ruby/tea.rb, line 26 def self.run(...) Runtime.run(...) end
Starts the MVU event loop.
Convenience delegator to Runtime.run. See Runtime for full documentation.