Skip to content

Commit

Permalink
Autocorrect rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jan 29, 2024
1 parent 0ca2744 commit 4c30ec6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/jobs/marc_profiling_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ def add(item)
@sample[j] = [@size_so_far, item] if @wanted > j
end

# rubocop:disable Style/HashEachMethods
def each
@sample.sort.each { |_idx, it| yield(it) }
end
# rubocop:enable Style/HashEachMethods
end

# Tally up some statistics about the MARC records in the file:
Expand Down

0 comments on commit 4c30ec6

Please sign in to comment.