Skip to content

Commit

Permalink
Refactor InsecureRandom disablement
Browse files Browse the repository at this point in the history
  • Loading branch information
laserlemon authored Apr 13, 2024
1 parent dd79c7d commit e13c2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/insecure_random.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def self.enable!
def self.disable!
return false unless enabled?

Overrides.instance_methods.each do |method|
Hook.instance_methods.each do |method|
Hook.remove_method(method)
end

Expand Down

0 comments on commit e13c2e5

Please sign in to comment.