Open EdCrux opened 4 years ago
Here's how it is right now -->
if is_a? Array ..... else ..... end
Change your else into a conditional, so that you don't pass items that are simply not an Array.
if is_a? Array ..... elsif is_a? Hash ..... end
Here's how it is right now -->
Change your else into a conditional, so that you don't pass items that are simply not an Array.