refactor Lexer to be static class function

This commit is contained in:
Michael Go
2025-01-07 14:32:07 -04:00
parent 3c16c27ee1
commit 002e4caea7
4 changed files with 88 additions and 92 deletions
+1 -1
View File
@@ -134,6 +134,6 @@ class LexerUnitTest < Minitest::Test
private
def tokenize(input)
Lexer.new(input).tokenize
Lexer.tokenize(input)
end
end