Skip to content
Snippets Groups Projects
Commit 51504e43 authored by Markus Reiter's avatar Markus Reiter
Browse files

RuboCop: Style/ClassVars

parent 573aea0b
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ require "thread" ...@@ -4,7 +4,7 @@ require "thread"
module Homebrew module Homebrew
module Cleanup module Cleanup
@@disk_cleanup_size = 0 @disk_cleanup_size = 0
def self.cleanup def self.cleanup
cleanup_cellar cleanup_cellar
...@@ -17,11 +17,11 @@ module Homebrew ...@@ -17,11 +17,11 @@ module Homebrew
end end
def self.update_disk_cleanup_size(path_size) def self.update_disk_cleanup_size(path_size)
@@disk_cleanup_size += path_size @disk_cleanup_size += path_size
end end
def self.disk_cleanup_size def self.disk_cleanup_size
@@disk_cleanup_size @disk_cleanup_size
end end
def self.cleanup_formula(formula) def self.cleanup_formula(formula)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment