Class: Charming::ApplicationState

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Attributes, ActiveModel::Model
Defined in:
lib/charming/application_state.rb

Overview

ApplicationState is the base for session-backed TUI state. It includes ActiveModel::Model (validation, initialisation) and ActiveModel::Attributes (typed attributes with defaults via attribute :name, :type, default: ...), making it suitable for screen/form state.