module ViewModel::Utils::Collections
def contains_exactly?(other)
def contains_exactly?(other) mine = count_by { |x| x } theirs = other.count_by { |x| x } mine == theirs end
def contains_exactly?(other) mine = count_by { |x| x } theirs = other.count_by { |x| x } mine == theirs end