uniq
Why does uniq! return nil if there are no duplicates
I\'m just starting with Ruby and I personally find the following to be a violation of the \"principle of least surprise\".And that is, quoting from the documentation, that uniq! \"removes duplicate el[详细]
2022-12-17 19:04 分类:问答