From: andy.am@... Date: 2020-06-01T15:40:05+00:00 Subject: [ruby-core:98605] [Ruby master Bug#16928] Array#include_all? & Array#include_any? Issue #16928 has been reported by AndyMaleh (Andy Maleh). ---------------------------------------- Bug #16928: Array#include_all? & Array#include_any? https://bugs.ruby-lang.org/issues/16928 * Author: AndyMaleh (Andy Maleh) * Status: Open * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- 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: