Method: TreeClusters::AttrArray#intersection

Defined in:
lib/tree_clusters/attr_array.rb

#intersectionSet

Takes the intersection of all sets in the AttrArray

Returns:

  • (Set)


14
15
16
# File 'lib/tree_clusters/attr_array.rb', line 14

def intersection
  self.reduce(&:intersection)
end