# File lib/rspec/matchers/built_in/start_and_end_with.rb, line 42 def element_matches?(expected, actual) actual[-1] == expected end