method

ends_with?

v6.1.3.1 - Show latest stable - Class: Symbol
ends_with?(*suffixes)
public