lib/attractor/calculators/ruby_calculator.rb in attractor-1.0.2 vs lib/attractor/calculators/ruby_calculator.rb in attractor-1.1.0
- old
+ new
@@ -4,9 +4,10 @@
module Attractor
class RubyCalculator < BaseCalculator
def initialize(file_prefix: '', minimum_churn_count: 3)
super(file_prefix: file_prefix, file_extension: 'rb', minimum_churn_count: minimum_churn_count)
+ @type = "Ruby"
end
def calculate
super do |change|
flogger = Flog.new(all: true)