#!/usr/bin/ruby months = Hash.new( "month" ) puts "#{months[0]}" puts ... 遍历hash,为每个key 调用一次block,传递key-value 作为一个二元素数组。
確定! 回上一頁