Class: Mj::ChatGpt::Commands::AskCommand
- Inherits:
-
Object
- Object
- Mj::ChatGpt::Commands::AskCommand
- Defined in:
- lib/mj/chatgpt/commands/ask_command.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#question ⇒ Object
readonly
Returns the value of attribute question.
Instance Method Summary collapse
-
#initialize(question, options: {}) ⇒ AskCommand
constructor
A new instance of AskCommand.
Constructor Details
#initialize(question, options: {}) ⇒ AskCommand
Returns a new instance of AskCommand.
10 11 12 13 |
# File 'lib/mj/chatgpt/commands/ask_command.rb', line 10 def initialize(question, options: {}) @question = question @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/mj/chatgpt/commands/ask_command.rb', line 8 def @options end |
#question ⇒ Object (readonly)
Returns the value of attribute question.
7 8 9 |
# File 'lib/mj/chatgpt/commands/ask_command.rb', line 7 def question @question end |