A Admin • 828.03K Points Coach Q. What does the flat_map method do in Ruby enumerators? (A) Converts a collection into an enumerator (B) Maps each element to a new collection and flattens the results (C) Iterates over each element in a collection and applies a block of code to accumulate a value (D) Converts a collection into an enumerator Correct Answer - Option(B) Views: 4 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.