Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Till ruby 2.5, `Object#=~` silently ignored non-string argument, but it has been deprecated since ruby 2.6 and will be removed in the future. Use `Regexp#===` instead, to match loosely. Also `/^-/` is not a proper pattern to tell if the argument starts with a `-`.
- Loading branch information