From 11106525c4cf218bb6ae87f779a2e17130680f2a Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 19 Jun 2025 18:40:42 +0900 Subject: [PATCH] mruby-set (__get_hash): remove no longer used method --- mrbgems/mruby-set/mrblib/set.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/mrbgems/mruby-set/mrblib/set.rb b/mrbgems/mruby-set/mrblib/set.rb index 9ba953215..51b1656ea 100644 --- a/mrbgems/mruby-set/mrblib/set.rb +++ b/mrbgems/mruby-set/mrblib/set.rb @@ -8,16 +8,6 @@ class Set end end - # internal method to get internal hash (compatibility bridge) - def __get_hash - # For C implementation, create a Ruby hash representation - # This is only used by Ruby fallback methods - hash = {} - each { |element| hash[element] = true } - hash - end - - # Helper method for initialize with block def __init_with_block(enum, &block) __do_with_enum(enum) { |o| add(block.call(o)) }