Class: AdLint::FunctionMetric

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

Instance Method Summary collapse

Methods inherited from CodeMetric

#print_as_csv, #to_s

Constructor Details

#initialize(name, fun_id, loc, val) ⇒ FunctionMetric

Returns a new instance of FunctionMetric.



80
81
82
83
84
85
# File 'lib/adlint/metric.rb', line 80

def initialize(name, fun_id, loc, val)
  @name   = name
  @fun_id = fun_id
  @loc    = loc
  @val    = val
end