Skip to content

Commit

Permalink
Standard!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Mar 30, 2021
1 parent 5b94bfe commit ea32776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sidekiq/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class RingBuffer
extend Forwardable
def_delegators :@buf, :[], :each, :size

def initialize(size, default=0)
def initialize(size, default = 0)
@size = size
@buf = Array.new(size, default)
@index = 0
Expand All @@ -31,7 +31,7 @@ def buffer
@buf
end

def reset(default=0)
def reset(default = 0)
@buf.fill(default)
end
end
Expand Down

0 comments on commit ea32776

Please sign in to comment.