Skip to content

Commit

Permalink
disable cop for unused method argument
Browse files Browse the repository at this point in the history
  • Loading branch information
0exp committed Jan 24, 2020
1 parent 9a1a72e commit 5bf7a23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/hourly_logger_rotator/patch/ruby_2_4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Patch
module Ruby_2_4 # rubocop:disable Naming/ClassAndModuleCamelCase
SiD = Logger::Period::SiD

# rubocop:disable Lint/UnusedMethodArgument
def initialize(
log = nil,
shift_age: nil,
Expand All @@ -27,6 +28,7 @@ def initialize(
end
end
end
# rubocop:enable Lint/UnusedMethodArgument

def next_rotate_time(now, shift_age)
case shift_age
Expand Down

0 comments on commit 5bf7a23

Please sign in to comment.