From 05794d03745176b726650958e19f3bf053737d2f Mon Sep 17 00:00:00 2001 From: Julian Nadeau Date: Sat, 2 Jun 2018 21:11:13 +0900 Subject: Appease the Rubocop overlords --- lib/bundler/plugin/events.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/plugin/events.rb b/lib/bundler/plugin/events.rb index 4026a06604..26bd59e5cf 100644 --- a/lib/bundler/plugin/events.rb +++ b/lib/bundler/plugin/events.rb @@ -15,7 +15,7 @@ module Bundler private_class_method :define def self.reset - @events.each do |_, const| + @events.each_value do |const| remove_const(const) end @events = nil -- cgit v1.2.1