class Headache::Record::BatchControl

Attributes

batch[RW]
document[RW]

Public Class Methods

new(batch, document) click to toggle source
# File lib/headache/record/batch_control.rb, line 12
def initialize(batch, document)
  @batch = batch
  @document = document
end

Public Instance Methods

entry_count() click to toggle source
# File lib/headache/record/batch_control.rb, line 17
def entry_count
  batch.size
end