Why not simply

    ["", "ellis"].each do |k|
      config[:value]...
    end