[#98621] Re: Function getlogin_r()'s protoype] — Bertram Scharpf <lists@...>
FYI,
3 messages
2020/06/02
[#98947] [Ruby master Feature#16986] Anonymous Struct literal — ko1@...
Issue #16986 has been reported by ko1 (Koichi Sasada).
66 messages
2020/06/26
[#98962] [Ruby master Bug#16988] Kernel.load loads file from current directory without '.' in path — misharinn@...
Issue #16988 has been reported by TheSmartnik (Nikita Misharin).
5 messages
2020/06/26
[#98969] [Ruby master Feature#16994] Sets: shorthand for frozen sets of symbols / strings — marcandre-ruby-core@...
Issue #16994 has been reported by marcandre (Marc-Andre Lafortune).
7 messages
2020/06/26
[#100117] [Ruby master Feature#16994] Sets: shorthand for frozen sets of symbols / strings
— matz@...
2020/09/25
Issue #16994 has been updated by matz (Yukihiro Matsumoto).
[ruby-core:98608] [Ruby master Feature#16928] Array#include_all? & Array#include_any?
From:
marcandre-ruby-core@...
Date:
2020-06-01 16:46:26 UTC
List:
ruby-core #98608
Issue #16928 has been updated by marcandre (Marc-Andre Lafortune). FYI, you can already do these with sets: ```ruby Set[1, 2] == Set[2, 1] # => true Set[1,2].intersect?(Set[2]) # => true ``` The second case has been requested a few times already: #15198, ... ---------------------------------------- Feature #16928: Array#include_all? & Array#include_any? https://bugs.ruby-lang.org/issues/16928#change-85929 * 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>