Class: Foobara::Agent::GiveUp
- Inherits:
-
Command
- Object
- Command
- Foobara::Agent::GiveUp
show all
- Defined in:
- foobara-agent-0.1.0/src/foobara/agent/give_up.rb
Constant Summary
TruncatedInspect::MAX_LENGTH
Instance Method Summary
collapse
Methods inherited from Command
install!
#inspect, truncating
Methods included from Concern
foobara_class_methods_module_for, foobara_concern?, included
Instance Method Details
#execute ⇒ Object
9
10
11
12
13
|
# File 'src/foobara/agent/give_up.rb', line 9
def execute
mark_given_up
nil
end
|
#mark_given_up ⇒ Object
15
16
17
|
# File 'src/foobara/agent/give_up.rb', line 15
def mark_given_up
command_connector.give_up(message_to_user)
end
|