1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/logger] require 'logger/errors' just for compat

https://github.com/ruby/logger/commit/255a51dc10
This commit is contained in:
sonots 2019-03-18 21:02:02 +09:00 committed by Hiroshi SHIBATA
parent bbe157f340
commit 7f10da9d27
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@ require 'logger/version'
require 'logger/formatter' require 'logger/formatter'
require 'logger/log_device' require 'logger/log_device'
require 'logger/severity' require 'logger/severity'
require 'logger/errors'
# == Description # == Description
# #

View file

@ -1,7 +1,7 @@
# not used after 1.2.7. just for compat.
class Logger class Logger
class Error < RuntimeError # :nodoc: class Error < RuntimeError # :nodoc:
end end
# not used after 1.2.7. just for compat.
class ShiftingError < Error # :nodoc: class ShiftingError < Error # :nodoc:
end end
end end