Module: RSpec::Core::FlatMap

Defined in:
lib/rspec/core/flat_map.rb

Class Method Summary collapse

Class Method Details

.flat_map(array, &block) ⇒ Object

:nocov:



11
12
13
# File 'lib/rspec/core/flat_map.rb', line 11

def flat_map(array, &block)
  array.flat_map(&block)
end