From: daniel@...42.com Date: 2020-06-01T18:54:27+00:00 Subject: [ruby-core:98613] [Ruby master Feature#16928] Array#include_all? & Array#include_any? Issue #16928 has been updated by Dan0042 (Daniel DeLorme). The first case (#include_all?) has also been requested before: #16039 ---------------------------------------- Feature #16928: Array#include_all? & Array#include_any? https://bugs.ruby-lang.org/issues/16928#change-85936 * Author: AndyMaleh (Andy Maleh) * Status: Open * Priority: Normal ---------------------------------------- Hi, The Ruby Array class is currently missing #include_all? and #include_any? to check if current Array includes all elements of another Array or any. I implemented in this Ruby Gem: https://github.com/AndyObtiva/array_include_methods I would like to propose merging into Ruby since these methods are very handy and are more readable than coding by hand manually. Andy Maleh ---Files-------------------------------- array_include_methods.zip (65.8 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: