# File lib/backports/1.9.2/enumerable.rb, line 45 def flat_map(&block) return to_enum(:flat_map) unless block_given? map(&block).flatten(1) end