Class: AdLint::FileMetric

Inherits:
CodeMetric show all
Defined in:
lib/adlint/metric.rb

Direct Known Subclasses

FL_FUNC_Metric, FL_STMT_Metric

Instance Method Summary collapse

Methods inherited from CodeMetric

#print_as_csv, #to_s

Constructor Details

#initialize(name, fpath, val) ⇒ FileMetric

Returns a new instance of FileMetric.



55
56
57
58
59
# File 'lib/adlint/metric.rb', line 55

def initialize(name, fpath, val)
  @name  = name
  @fpath = fpath
  @val   = val
end