Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass Tests #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yuriyivanenko
Copy link

All tests pass


def initialize(params)
# puts params[:name]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# puts params[:name]

Comment on lines +13 to +23
<% if index == 0 %>
<h2>Display your first ship here</h2>
<p>Name: <%= ship.name %></p>
<p>Booty: <%= ship.booty %></p>
<p>Type: <%= ship.type %></p>
<% elsif index == 1 %>
<h2>Display your second ship here</h2>
<p>Name: <%= ship.name %></p>
<p>Booty: <%= ship.booty %></p>
<p>Type: <%= ship.type %></p>
<% end %>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<% if index == 0 %>
<h2>Display your first ship here</h2>
<p>Name: <%= ship.name %></p>
<p>Booty: <%= ship.booty %></p>
<p>Type: <%= ship.type %></p>
<% elsif index == 1 %>
<h2>Display your second ship here</h2>
<p>Name: <%= ship.name %></p>
<p>Booty: <%= ship.booty %></p>
<p>Type: <%= ship.type %></p>
<% end %>
<h2>Display your <%= index == 0 ? "first" : "second" %> ship here</h2>
<p>Name: <%= ship.name %></p>
<p>Booty: <%= ship.booty %></p>
<p>Type: <%= ship.type %></p>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants