summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Nadeau <julian@jnadeau.ca>2018-06-02 21:11:13 +0900
committerGitHub <noreply@github.com>2018-06-02 21:11:13 +0900
commit05794d03745176b726650958e19f3bf053737d2f (patch)
tree3bc735ab0b4fc7d303e38e8a4e3052ccb85ac1fd
parent39fb5fd9b3f9034780270ffbdb150200c8ce923a (diff)
downloadbundler-jules2689/registered-events.tar.gz
Appease the Rubocop overlordsjules2689/registered-events
-rw-r--r--lib/bundler/plugin/events.rb2
1 files changed, 1 insertions, 1 deletions
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