module Enumerable
def find_map(&block)
def find_map(&block) each do |element| mapped_value = block.call(element) return mapped_value if mapped_value end nil end
def find_map(&block) each do |element| mapped_value = block.call(element) return mapped_value if mapped_value end nil end