Sha256: e6060b4288d1f9b7de45ab3f75ad029912ba0ad39d42783c4598c262a752d954
Contents?: true
Size: 179 Bytes
Versions: 6
Compression:
Stored size: 179 Bytes
Contents
module Rico class Set < Array protected def compute_add(items) super(items).uniq end def compute_remove(items) super(items).uniq end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rico-0.5.0 | lib/rico/set.rb |
rico-0.4.0 | lib/rico/set.rb |
rico-0.3.0 | lib/rico/set.rb |
rico-0.2.0 | lib/rico/set.rb |
rico-0.1.0 | lib/rico/set.rb |
rico-0.0.1 | lib/rico/set.rb |