All Downloads are FREE. Search and download functionalities are using the official Maven repository.

biz.lobachev.annette.data_dictionary.builder.rendering.RenderResult.scala Maven / Gradle / Ivy

package biz.lobachev.annette.data_dictionary.builder.rendering

case class RenderResult(
  path: String,
  filename: String,
  content: String,
) {
  override def toString: String = {
    val lines = content.split("\n").map(c => s"    $c").toSeq
    (Seq(
      s"path:     $path",
      s"filename: $filename",
      s"content:",
    ) ++ lines).mkString("\n")
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy