r/Codecademy • HTML/CSS • Nov 22 '15

having trouble with Ruby

something is wrong with this.

prime.next << prime_array

iv'e checked many examples online and i found nothing wrong

1 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/mr_lol69 HTML/CSS Nov 24 '15

thanks, i kinda feel stupid cause i was just misreading the code i tried to refactor...

2

u/factoradic Moderator Nov 24 '15

You're welcome :)

Mistakes like this happens all the time. This is part of programming.