From 300c9dae45cd3d48333514345b75ba60a0a7a874 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Mar 2026 09:38:46 +0000 Subject: [PATCH] Remove unused local_variables call in ArgumentExtractor#extract_from_binding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The result of @caller_binding.local_variables on line 350 was never assigned or used — the same call is made immediately below in extract_local_variables_with_numeric_indexing. Removing the dead call. https://claude.ai/code/session_01KWZUse79XR68i6nGa8VgTu --- lib/observable/instrumenter.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/observable/instrumenter.rb b/lib/observable/instrumenter.rb index 6ac0a75..4938979 100644 --- a/lib/observable/instrumenter.rb +++ b/lib/observable/instrumenter.rb @@ -347,7 +347,6 @@ def extract private def extract_from_binding - @caller_binding.local_variables args = {} extract_local_variables_with_numeric_indexing(args)