from /home/chedong/.local/share/rdoc
| Use Case | Command | Description |
|---|---|---|
| 📥 Include FSM in a class | included |
Mixin module to add finite state machine behavior |
| ⚙️ Initialize FSM | initialize_fsm |
Set up initial state machine state |
| 🔍 Read current state | state |
Returns the current state as a symbol |
| ⏳ Wait for a specific state | wait_for_state(state) |
Blocks until the FSM reaches the given state |
included — called when the module is included in a classinitialize_fsm — set up the initial statestate — return the current statewait_for_state(state) — wait until the FSM enters the given stateattr_reader :state — readable access to the current stateGenerated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 18:53 @216.73.216.199
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format