method

new

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: BatchEnumerator
new(of: 1000, start: nil, finish: nil, relation:) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/batches/batch_enumerator.rb, line 8
      def initialize(of: 1000, start: nil, finish: nil, relation)) #:nodoc:
        @of       = of
        @relation = relation
        @start = start
        @finish = finish
      end
Register or log in to add new notes.