Class: Socrates::SampleStates::Expired
- Inherits:
-
Object
- Object
- Socrates::SampleStates::Expired
- Includes:
- Core::State
- Defined in:
- lib/socrates/sample_states.rb
Instance Attribute Summary
Attributes included from Core::State
#adapter, #data, #session, #user
Instance Method Summary collapse
Methods included from Core::State
#end_conversation, #initialize, #listen, #next_state_action, #next_state_id, #repeat_action, #respond, #send_message, #transition_to
Instance Method Details
#ask ⇒ Object
76 77 78 79 80 |
# File 'lib/socrates/sample_states.rb', line 76 def ask respond message: "I've forgotten what we're talking about, let's start over." transition_to :help end |