Method: PgDice::Configuration#batch_size

Defined in:
lib/pgdice/configuration.rb

#batch_sizeObject



82
83
84
85
86
# File 'lib/pgdice/configuration.rb', line 82

def batch_size
  return @batch_size.to_i if @batch_size.to_i >= 0

  raise PgDice::InvalidConfigurationError, 'batch_size must be a non-negative Integer!'
end