method

end_with?

v2_2_9 - Show latest stable - Class: String
end_with?(*args)
public

Returns true if str ends with one of the suffixes given.