diff options
Diffstat (limited to 'src/main/scala/reading/models/Program.scala')
-rw-r--r-- | src/main/scala/reading/models/Program.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/reading/models/Program.scala b/src/main/scala/reading/models/Program.scala index 00e2b3b..da07653 100644 --- a/src/main/scala/reading/models/Program.scala +++ b/src/main/scala/reading/models/Program.scala @@ -9,7 +9,7 @@ sealed trait Program extends EnumEntry with Ordered[Program] { values.indexOf(that) - values.indexOf(this) } - override def toString(): String = this match { + def prettyPrint(): String = this match { case Monstre => "Le monstre, aux limites de l'humain" case RecitAventure => "Récits d'aventures" case CreationPoetique => "Récit de création, création poétique" |