Class: AskChatgpt::Prompts::Improve
- Defined in:
- lib/ask_chatgpt/prompts/improve.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from AskChatgpt::Prompts::Base
Instance Method Details
#content ⇒ Object
5 6 7 8 9 10 |
# File 'lib/ask_chatgpt/prompts/improve.rb', line 5 def content [ action_info, method_info, ].reject { |v| v.blank? }.join("\n") end |