Class: AskChatgpt::Prompts::App

Inherits:
Base
  • Object
show all
Defined in:
lib/ask_chatgpt/prompts/app.rb

Instance Attribute Summary

Attributes inherited from Base

#record

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from AskChatgpt::Prompts::Base

Instance Method Details

#contentObject



4
5
6
7
8
9
10
# File 'lib/ask_chatgpt/prompts/app.rb', line 4

def content
  [
    general_info,
    version_info,
    database_info
  ].reject { |v| v.blank? }.join(", ")
end