class RSpec::Matchers::BuiltIn::StartOrEndWith

def subsets_comparable?

def subsets_comparable?
  # Structs support the Enumerable interface but don't really have
  # the semantics of a subset of a larger set...
  return false if Struct === expected
  expected.respond_to?(:length)
end