<% sc = 0 %> <% @scenario.examples.each_with_index do |example, example_index| %> <% example.data.each_with_index do |row, row_index| %> <% end %> <% end %>
<% if @scenario.examples? %> <% @scenario.examples.each_with_index do |example,example_index| %>
<%= h example.keyword %><%= example.name != "" ? ':' : '' %>
<%= h example.name %>

<% example.headers.each_with_index do |header,header_index| %> <% end %> <% unless example.data.empty? %> <% example.data.each_with_index do |row,row_index| %> "> <% row.each_with_index do |column,column_index| %> <% end %> <% end %> <% else %> <% end %>
<%= h(header) %>
<%= h(column.to_s.strip) %>
No Examples Defined
<% end %> <% else %>
No Example Table Defined
[!] Did you mean to create a Scenario?
<% end %>