class ChatGPT::Substitutor

Defined in:

chatgpt/substitutor.cr
chatgpt/substitutor/base.cr
chatgpt/substitutor/command.cr
chatgpt/substitutor/file.cr
chatgpt/substitutor/file_extensions.cr
chatgpt/substitutor/stderr.cr
chatgpt/substitutor/stdout.cr

Constant Summary

FILE_EXTENSIONS = {".c" => "c", ".cr" => "crystal", ".cpp" => "cpp", ".cs" => "csharp", ".css" => "css", ".go" => "go", ".html" => "html", ".htm" => "html", ".java" => "java", ".js" => "javascript", ".json" => "json", ".kt" => "kotlin", ".lua" => "lua", ".md" => "md", ".markdown" => "markdown", ".m" => "matlab", ".nim" => "nim", ".pl" => "perl", ".php" => "php", ".py" => "python", ".R" => "r", ".rb" => "ruby", ".rs" => "rust", ".scala" => "scala", ".sh" => "shell", ".sql" => "sql", ".swift" => "swift", ".ts" => "typescript", ".xml" => "xml", ".yaml" => "yaml", ".yml" => "yaml"}

Constructors

Instance Method Summary

Constructor Detail

def self.new(system_command_runner : SystemCommand) #

[View source]

Instance Method Detail

def substitute(input_msg) #

[View source]