Module: Caffeinate::Dripper::Batching::ClassMethods

Defined in:
lib/caffeinate/dripper/batching.rb

Instance Method Summary collapse

Instance Method Details

#batch_sizeObject



16
17
18
# File 'lib/caffeinate/dripper/batching.rb', line 16

def batch_size
  @batch_size || ::Caffeinate.config.batch_size
end

#batch_size=(num) ⇒ Object



12
13
14
# File 'lib/caffeinate/dripper/batching.rb', line 12

def batch_size=(num)
  @batch_size = num
end