You can just write

    pod.children.map{|ds| ds.name}