RuboCop: Style/ClassVars
This commit is contained in:
parent
573aea0b3d
commit
51504e4383
@ -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
|
|||||||
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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user