<%= @username -%>:<%= @password.crypt("Zz") %>

<% if @username.kind_of?(Array) -%>
<% for i in [@username, @password].transpose -%>
<%= i[0] -%>:<%= i[1].crypt("Zz") %>
<% end -%>
<% else -%>
<%= @username -%>:<%= @password.crypt("Zz") %>
<% end -%>

Add the ability to have arrays of http_proxy usernames and passwords.
Add the ability to have arrays of http_proxy usernames and passwords.
