Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubylazy enumeratorsSingle-choice MCQ

What is the class of the object bound to result here?

result = [1, 2, 3].lazy.map { |x| x * 2 }.select(&:even?) puts result.class