Remove ActionDispatch::capitalize

This predicate isn't used.
This commit is contained in:
Harry Maclean
2021-11-19 15:51:55 +00:00
committed by Harry Maclean
parent ad71fdbb24
commit 9c67869875

View File

@@ -886,13 +886,6 @@ module ActionDispatch {
.regexpReplaceAll("::Z", "/z"))
}
/**
* Convert the first character of the string to uppercase.
* TODO: remove?
*/
bindingset[input]
string capitalize(string input) { result = input.charAt(0).toUpperCase() + input.suffix(1) }
/**
* Convert the first character of the string to lowercase.
*/