This is a codecademy bug or what?making a lambda


i made this lambda work and it says it didn't!WHY?


my_array = ["raindrops", :kettles, "whiskers", :mittens, :packages]

symbol_filter = lambda { |my_array| my_array.is_a? Symbol }
symbol =

it puts to me [:kettles, :mittens, :packages]
which is what it should do, and codecademy says:

at it doesn't include "kettles" but it should,

effort much appreciated


I am having this precise problem myself.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.