mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove unnecessary file
This commit is contained in:
parent
885cf350de
commit
f47c057c32
Notes:
git
2024-09-12 12:06:33 +00:00
1 changed files with 0 additions and 25 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue