From 8195bfce33be95d55472a19eb7c7fba6397b04ac Mon Sep 17 00:00:00 2001 From: Pat Garrity Date: Sun, 27 Jul 2025 21:30:25 -0500 Subject: [PATCH] (patch) Fixed incomplete function. --- src/main/scala/gs/uuid/v0/UUID.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/gs/uuid/v0/UUID.scala b/src/main/scala/gs/uuid/v0/UUID.scala index 548fea4..a4d29fe 100644 --- a/src/main/scala/gs/uuid/v0/UUID.scala +++ b/src/main/scala/gs/uuid/v0/UUID.scala @@ -118,7 +118,8 @@ object UUID: * @return * Hexadecimal string representation of this UUID. */ - def str(dashes: Boolean = false): String = withoutDashes() + def str(dashes: Boolean = false): String = + if dashes then withDashes() else withoutDashes() /** @return * Hexadecimal string representation of this UUID, without dashes.