Method: TreeClusters::AttrArray#intersection
- Defined in:
- lib/tree_clusters/attr_array.rb
#intersection ⇒ Set
Takes the intersection of all sets in the AttrArray
14 15 16 |
# File 'lib/tree_clusters/attr_array.rb', line 14 def intersection self.reduce(&:intersection) end |