class Stefon::Surveyor::Base
A scaffold for concrete surveyors, meant to be extended This class calculates whose code the gem user is affecting the most for a particular kind of behavior (eg. line / file deletion)
Attributes
grit[RW]
scores[RW]
weight[R]
Public Class Methods
new(weight)
click to toggle source
# File lib/stefon/surveyor/surveyor.rb, line 39 def initialize(weight) @grit ||= GritUtil.new @scores = SurveyorStore.new @weight = weight end