Skip to content

Commit

Permalink
Merge pull request #105 from haines/fix-ruby-2.7-deprecation-warning
Browse files Browse the repository at this point in the history
Fix deprecation warning on Ruby 2.7
  • Loading branch information
tilfin committed May 2, 2020
2 parents 2db32e1 + debb1c5 commit f18ba91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ougai/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class Logger < ::Logger

attr_accessor :default_message, :exc_key

def initialize(*args)
super(*args)
def initialize(*, **)
super
@before_log = nil
@default_message = 'No message'
@exc_key = :err
Expand Down

0 comments on commit f18ba91

Please sign in to comment.