Class: FuncBot::Bot
- Inherits:
-
Object
- Object
- FuncBot::Bot
- Defined in:
- lib/func_bot.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#history ⇒ Object
readonly
Returns the value of attribute history.
-
#include_functions ⇒ Object
Returns the value of attribute include_functions.
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
- #ask(prompt) ⇒ Object
-
#initialize ⇒ Bot
constructor
A new instance of Bot.
Constructor Details
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
16 17 18 |
# File 'lib/func_bot.rb', line 16 def client @client end |
#history ⇒ Object (readonly)
Returns the value of attribute history.
16 17 18 |
# File 'lib/func_bot.rb', line 16 def history @history end |
#include_functions ⇒ Object
Returns the value of attribute include_functions.
15 16 17 |
# File 'lib/func_bot.rb', line 15 def include_functions @include_functions end |
#response ⇒ Object
Returns the value of attribute response.
15 16 17 |
# File 'lib/func_bot.rb', line 15 def response @response end |