There are some use cases when one wants to check if an array or a hash has exactly one element. I propose Array#single? and Hash#single? that checks for ...
確定! 回上一頁