... hash returns the default value. Another ways to create a hash in Ruby: hash ... select {|k,v| k > "a"} #=> {"b" => 200, "c" => 300} hash.select {|k,v| v ...
確定! 回上一頁