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

[ruby/logger] Prefer require_relative, it's a little bit faster.

https://github.com/ruby/logger/commit/1e2aab4bea
This commit is contained in:
Samuel Williams 2019-03-21 12:35:29 +13:00 committed by Hiroshi SHIBATA
parent 7ef0856287
commit 3fdb963827
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 7 additions and 6 deletions

View file

@ -11,11 +11,12 @@
# A simple system for logging messages. See Logger for more documentation.
require 'monitor'
require 'logger/version'
require 'logger/formatter'
require 'logger/log_device'
require 'logger/severity'
require 'logger/errors'
require_relative 'logger/version'
require_relative 'logger/formatter'
require_relative 'logger/log_device'
require_relative 'logger/severity'
require_relative 'logger/errors'
# == Description
#

View file

@ -1,4 +1,4 @@
require 'logger/period'
require_relative 'period'
class Logger
# Device used for logging messages.