Class: Socrates::SampleStates::NoComprende
- Inherits:
-
Object
- Object
- Socrates::SampleStates::NoComprende
- 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
66 67 68 69 70 |
# File 'lib/socrates/sample_states.rb', line 66 def ask respond message: "Whoops, I don't know what you mean by that. Try `help` to see my commands." transition_to :get_started end |