class StateControl(T)
- StateControl(T)
- Reference
- Object
Defined in:
state_control.crstate_control/router.cr
Constant Summary
-
VERSION =
"0.1.0"
Constructors
Instance Method Summary
- #can?(dest : T, current : T = state)
- #final_state?
- #go(dest : T, current : T = state)
- #go(dest : T, current : T = state, &success_block : Proc(T, T, Nil))
- #possible_routes(current = state)
- #state : T
- #to_json(json : JSON::Builder) : Nil