Module: RSpec::Core::FlatMap

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/flat_map.rb

Class Method Summary collapse

Class Method Details

.flat_map(array, &block) ⇒ Object

:nocov:



11
12
13
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/flat_map.rb', line 11

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