From d1b07a1fbdea90bda14f1b89b1acc16e34da29fb Mon Sep 17 00:00:00 2001 From: Mark Canlas Date: Sun, 2 Oct 2022 22:43:22 -0400 Subject: [PATCH] rename maybe --- .../scratchpad/{Generator.scala => CodeGenerator.scala} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename scratchpad/src/main/scala/com/htmlism/scratchpad/{Generator.scala => CodeGenerator.scala} (96%) diff --git a/scratchpad/src/main/scala/com/htmlism/scratchpad/Generator.scala b/scratchpad/src/main/scala/com/htmlism/scratchpad/CodeGenerator.scala similarity index 96% rename from scratchpad/src/main/scala/com/htmlism/scratchpad/Generator.scala rename to scratchpad/src/main/scala/com/htmlism/scratchpad/CodeGenerator.scala index 2921baa..c2cbc5b 100644 --- a/scratchpad/src/main/scala/com/htmlism/scratchpad/Generator.scala +++ b/scratchpad/src/main/scala/com/htmlism/scratchpad/CodeGenerator.scala @@ -1,13 +1,13 @@ package com.htmlism.scratchpad -object Generator extends App: +object CodeGenerator extends App: val allLetters = ('A' to 'Z') .map(_.toString) for (n <- 1 to 22) val classNum = - if (n == 1) "" else n + n val letters = allLetters.take(n)