class PDF::Reader::PageLayout
def mean(collection)
def mean(collection) if collection.size == 0 0 else collection.inject(0) { |accum, v| accum + v} / collection.size.to_f end end
def mean(collection) if collection.size == 0 0 else collection.inject(0) { |accum, v| accum + v} / collection.size.to_f end end