src code

instance method String#endsWith

String#endsWith(substring) → Boolean

Checks if the string ends with substring.