Accessing a hash with either string or symbol keys For a normal Ruby hash, the following code is true: x = {"key1" => "value1"} x["key1"] ...
確定! 回上一頁