Sha256: 5be7b0ac71858a33d80750e4de7a6124f18b8f55912fb40114d74a0a90977f4c
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
require 'delegate' module Yearbook module Detection class Collection < SimpleDelegator def initialize(cvseq, opts={}) @cv_seq = cvseq super(@cv_seq) end # returns just one of the CvAvgComps def best sort_by{|c| c.width * c.height}.reverse.first end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yearbook-0.3.0 | lib/yearbook/detection/collection.rb |