class Hamster::SortedSet

def intersection(other)

Returns:
  • (SortedSet) -

Parameters:
  • other (Enumerable) -- The collection to intersect with
def intersection(other)
  self.class.alloc(@node.keep_only(other))
end