We can check if a particular hash contains a particular key by using the method has_key?(key) . It returns true or false depending on whether the key exists ...
確定! 回上一頁