# frozen_string_literal: truemoduleGitlabmoduleGithubImportclassMarkdownTextattr_reader:text,:author,:existsdefself.format(*args)new(*args).to_send# text - The Markdown text as a String.# author - An instance of `Gitlab::GithubImport::Representation::User`# exists - Boolean that indicates the user exists in the GitLab database.definitialize(text,author,exists=false)@text=text@author=author@exists=existsenddefto_sifexiststextelse"*Created by: #{author.login}*\n\n#{text}"endendendendend