Permalink
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (5 sloc) 374 Bytes
Make it possible to have complex dialogs.
core_dialog << weather_dialog # Attach to all chainable states of the core dialog.
core_dialog << fun_dialogs # Attach all dialogs to all chainable states of the core dialog.
core_dialog.state_for(:awake) << stocks_dialog # Attach to one specific state.
core_dialog.awake << stocks_dialog # attach to a specific state, version 2