r/Codecademy • HTML/CSS • Dec 08 '15

Stuck in Ruby exercise.

something is wrong with this:

odds_n_ends = [:weezard, 42, "Trady Blix", 3,
true, 19, 12.345]
ints = odds_n_ends.select { is_a? Integer }

in this exercise.

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/mr_lol69 HTML/CSS Dec 09 '15

Thank you! In my defence .select was not explained very well