summaryrefslogtreecommitdiff
path: root/lib/rubygems/resolver/stats.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2020-09-23 21:02:56 +0900
committerHiroshi SHIBATA <[email protected]>2020-09-23 21:02:56 +0900
commit31a6eaabc165d8a222e176f2c809d90622d88ec2 ()
treeb5333db2c13888ede5062ccd8ecca649ea261b4c /lib/rubygems/resolver/stats.rb
parentf56fc720ee8cd4b79824a1c3843058b662a302bd (diff)
Manually merged from https://.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
-rw-r--r--lib/rubygems/resolver/stats.rb2
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@
# frozen_string_literal: true
class Gem::Resolver::Stats
def initialize
@max_depth = 0
@max_requirements = 0
@@ -42,4 +43,5 @@ class Gem::Resolver::Stats
$stdout.printf PATTERN, "Backtracking #", @backtracking
$stdout.printf PATTERN, "Iteration #", @iterations
end
end