From f47c057c327467a8dcdb8482b13d2ea281a6ad6f Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 12 Sep 2024 10:42:50 +0900 Subject: [PATCH] Remove unnecessary file --- tool/lrama/lib/lrama/warning.rb | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 tool/lrama/lib/lrama/warning.rb diff --git a/tool/lrama/lib/lrama/warning.rb b/tool/lrama/lib/lrama/warning.rb deleted file mode 100644 index 3c99791ebf..0000000000 --- a/tool/lrama/lib/lrama/warning.rb +++ /dev/null @@ -1,25 +0,0 @@ -module Lrama - class Warning - attr_reader :errors, :warns - - def initialize(out = STDERR) - @out = out - @errors = [] - @warns = [] - end - - def error(message) - @out << message << "\n" - @errors << message - end - - def warn(message) - @out << message << "\n" - @warns << message - end - - def has_error? - !@errors.empty? - end - end -end