Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cast argument to string before performing regex
Recently we started getting warnings about calling #=~ on things like booleans and arrays etc. This commit ensures that we cast the argument to a string before performing a regex on it to ensure that we aren't relying on what calling a regex match type method on a boolean returns.
- Loading branch information