From 10c40c4e8792d42e75d103baca7812fa38ed064d Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 16 Jun 2025 12:41:54 +0900 Subject: [PATCH] mruby-set: make Set#initialize_copy private --- mrbgems/mruby-set/mrblib/set.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrbgems/mruby-set/mrblib/set.rb b/mrbgems/mruby-set/mrblib/set.rb index b0594663f..dace55df3 100644 --- a/mrbgems/mruby-set/mrblib/set.rb +++ b/mrbgems/mruby-set/mrblib/set.rb @@ -31,7 +31,7 @@ class Set end end - def initialize_copy(orig) + private def initialize_copy(orig) super @hash = orig.__get_hash.dup end