Module: Delight::Enumerator::SelectByMethods
- Defined in:
- lib/delight/enumerator/select_by_methods.rb
Instance Method Summary collapse
-
#select_by ⇒ Array
Filter collection elements using method calls and values passed as keyword arguments.
Instance Method Details
#select_by ⇒ Array
Filter collection elements using method calls and values passed as keyword arguments.
27 28 29 30 31 |
# File 'lib/delight/enumerator/select_by_methods.rb', line 27 def select_by(**) select do |element| collection_matcher(element, **) end end |