]> git.openstreetmap.org Git - rails.git/blobdiff - lib/classic_pagination/pagination.rb
Drop support for ruby 3.0
[rails.git] / lib / classic_pagination / pagination.rb
index c7022e0b0b914707c549c458f347f89b8bc530a4..b54b0e9f85a8b316ea296f1a42fae66720548784 100644 (file)
@@ -288,7 +288,7 @@ module ActionController
       end
 
       # Successively yields all the paginator's pages to the given block.
-      def each(&_block)
+      def each(&)
         page_count.times do |n|
           yield self[n + 1]
         end