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

izumi.idealingua.il.renderer.RStreamDirection.scala Maven / Gradle / Ivy

The newest version!
package izumi.idealingua.il.renderer

import izumi.functional.Renderable
import izumi.idealingua.model.common.StreamDirection

object RStreamDirection extends Renderable[StreamDirection] {
  override def render(value: StreamDirection): String = {
    value match {
      case StreamDirection.ToServer =>
        "toserver"
      case StreamDirection.ToClient =>
        "toclient"
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy