About | FAQ | Help
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

if I understood your issue well, you should use the following code (not checked on my side):

<% @regionserver_list.each_with_index do |this_server, idx| -%>
<%= "server.#{idx}=#{this_server}:2888:3888" %>
<% end -%>

Hope this helps (might need a to_s for idx, but not sure)