class RSpec::Matchers::BuiltIn::StartWith

Not intended to be instantiated directly.
Provides the implementation for ‘start_with`.
@api private

def element_matches?

def element_matches?
  values_match?(expected, actual[0])
end

def subset_matches?

def subset_matches?
  values_match?(expected, actual[0, expected.length])
end