end_with « String « Ruby





1.Checking for prefixes and suffixes: Ruby 1.9 and later