code: def map(key = nil, &block)
        m = []
        key ? each {|d| m << d[key]} : each {|d| m << block[d]}
        m
      end
docs: Extend map to accept key argument, allowing stuff like:
     map(:path) # equivalent to map {|d| d[:path]}