mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
8c4db2f417
This commit introduces `Hash#slice!`, which removes key-value pairs from a hash, keeping only the ones specified in the arguments. The removed pairs are returned as a new hash. Co-authored-by: Gemini <gemini@google.com>