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

Event Manager - Refractoring Zip Code #662

Open
pzula opened this issue Sep 11, 2013 · 2 comments
Open

Event Manager - Refractoring Zip Code #662

pzula opened this issue Sep 11, 2013 · 2 comments

Comments

@pzula
Copy link
Contributor

pzula commented Sep 11, 2013

Examining String#rjust in irb we can see that when we provide values greater            than 5 it performs no work. This means we apply it in both cases as      it   will have the same intended effect.

"123456".rjust 5, "0"=> "123456"

In this example, do you mean "when we provide values LESS than SIX, it performs no work"?

@pzula
Copy link
Contributor Author

pzula commented Sep 11, 2013

This whole section of the tutorial -- Refactoring Zip Code -- is very confusing to a lot of us

@steveklabnik
Copy link
Contributor

Yes, that should be less than.

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

No branches or pull requests

2 participants