Sha256: 10d032106413239245f1b795c729fc0a697f509147e11cfe57e568fad630f226
Contents?: true
Size: 279 Bytes
Versions: 46
Compression:
Stored size: 279 Bytes
Contents
require 'set' module Dataset class Collection < Array # :nodoc: def initialize(parent) concat parent end def <<(dataset) super uniq! self end def subset?(other) Set.new(self).subset?(Set.new(other)) end end end
Version data entries
46 entries across 46 versions & 8 rubygems