Sha256: 6e6458c07ba1125471cec7111c89675d54ff693174a303f3820a5375cbd4383c

Contents?: true

Size: 505 Bytes

Versions: 6

Compression:

Stored size: 505 Bytes

Contents

<% wizard_steps.each do |s| %>
  <p>
    <strong><u><%= s.inspect %></u></strong><br />
    <%= current_step?(s)  ? "#{s} step is the current step"   : "nope" %><br />
    <%= past_step?(s)     ? "#{s} step is a past step"        : "nope" %><br />
    <%= future_step?(s)   ? "#{s} step is a future step"      : "nope" %><br />
    <%= previous_step?(s) ? "#{s} step was the previous step" : "nope" %><br />
    <%= next_step?(s)     ? "#{s} step is the next step"      : "nope" %><br />
  </p>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wicked-1.0.2 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.0.1 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-1.0.0 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-0.6.1 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-0.6.0 test/dummy/app/views/step_positions/_step_position.html.erb
wicked-0.5.0 test/dummy/app/views/step_positions/_step_position.html.erb