Sha256: c4c9dd57f8b2fadf1c47445cd798bf362fd8e95ef3748b08d9ed994f67959ff0
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
# encoding: utf-8 module Yardstick # A set of yardstick documents class DocumentSet < OrderedSet # Measure documents using given config # # @return [Yardstick::MeasurementSet] # a collection of measurements # # @api private def measure(config) reduce(MeasurementSet.new) do |set, document| set.merge(Document.measure(document, config)) set end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yardstick-0.9.9 | lib/yardstick/document_set.rb |
yardstick-0.9.8 | lib/yardstick/document_set.rb |