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
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
58 59 60 61 62 |
# File 'lib/socrates/sample_states.rb', line 58 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 |