class RSpec::Matchers::BuiltIn::EndWith
Not intended to be instantiated directly.
Provides the implementation for ‘end_with`.
@api private
def element_matches?
def element_matches? values_match?(expected, actual[-1]) end
def subset_matches?
def subset_matches? values_match?(expected, actual[-expected.length, expected.length]) end