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
问答
阅读(0)