lib/rbbt/association/item.rb in rbbt-util-5.26.9 vs lib/rbbt/association/item.rb in rbbt-util-5.26.10
- old
+ new
@@ -216,5 +216,11 @@
else
list.select(&block)
end
end
end
+
+module TSV
+ def self.incidence(tsv)
+ AssociationItem.incidence Association.index(tsv, :persist => false).keys
+ end
+end