First appearance of specific key in subhashes Ruby : I have a hash:

    hash = {{"number" => "7", "disk" => "70"},{"number" => "12", "disk" => "150", "global" => "yes"},{"number" => "8", "disk" => "250", "global" => "yes"}}

I want to define a string containing of value of first "global" key appearance. I know how to loop over that hash but I can't figure out how to define the first appearance of that key.