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

Chapter 3, Lesson 2 accepts invalid Ruby #13

Open
gmarndt opened this issue Apr 12, 2012 · 0 comments
Open

Chapter 3, Lesson 2 accepts invalid Ruby #13

gmarndt opened this issue Apr 12, 2012 · 0 comments

Comments

@gmarndt
Copy link

gmarndt commented Apr 12, 2012

In Chapter 3, Lesson 2, one of the examples (string_start_with) accepts a call to "starts_with?" as correct. The correct method is "start_with?". For example...

# This is accepted by the lesson, even though starts_with? is not valid Ruby.
"Ruby is a beautiful language".starts_with? "Ruby"

# This is also accepted by the lesson, correctly.
"Ruby is a beautiful language".start_with? "Ruby"
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

1 participant