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

morphir.ir.Name.scala Maven / Gradle / Ivy

There is a newer version: 0.5.0-M03
Show newest version
package morphir.ir
import org.finos.morphir.naming

object Name {
  type Name = naming.Name

  def fromString(str: String): Name   = naming.Name.fromString(str)
  def toTitleCase(name: Name): String = name.toTitleCase
  def toCamelCase(name: Name): String = name.toCamelCase
  def toSnakeCase(name: Name): String = name.toSnakeCase
  def toHumanWords(name: Name): List[String] =
    name.humanize

  // TODO: Fill with the rest of the functions available in the morphir-elm project
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy