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

Tweak homepage #17

Merged
merged 3 commits into from
Oct 9, 2014
Merged

Tweak homepage #17

merged 3 commits into from
Oct 9, 2014

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Oct 9, 2014

Adds an implementation for the example on the homepage and tweaks the code styling.
screen shot 2014-10-09 at 21 44 54
screen shot 2014-10-09 at 21 46 43

@JonRowe
Copy link
Member Author

JonRowe commented Oct 9, 2014

/cc @rspec/rspec

@fables-tales
Copy link
Member

LGTM.

@fables-tales
Copy link
Member

Oh, you should add parens to the hit implementation though.

@fables-tales
Copy link
Member

def hit(pins)

@fables-tales
Copy link
Member

(also, I can make your test pass with less code but I suspect that's not the point?)

@score = 0
end

def hit pins
Copy link
Member

Choose a reason for hiding this comment

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

Agree with sam, parens please.

@JonRowe
Copy link
Member Author

JonRowe commented Oct 9, 2014

(also, I can make your test pass with less code but I suspect that's not the point?)

Yeah I went with a minimum plausible solution rather than an aggressive TTD style simplest possible

JonRowe added a commit that referenced this pull request Oct 9, 2014
@JonRowe JonRowe merged commit 801b404 into source Oct 9, 2014
@JonRowe JonRowe deleted the tweak_homepage branch October 9, 2014 21:16
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.

None yet

3 participants