class Rooibos::Command::Exit
Terminates the application.
Users press a key or click a button to quit. The update function returns a command, and the runtime executes it. Termination is special: the runtime detects this sentinel before dispatching and breaks the loop.
Prefer the Command.exit factory method for convenience.
Example
# Using the factory method (recommended) [model, Command.exit] # Using the class directly [model, Exit.new]
Public Instance Methods
Source
# File lib/rooibos/command.rb, line 67 def call(_out, _token) raise "Exit command should never be dispatched" end
Stub - Exit is a sentinel handled by runtime before dispatch.