class AdLint::FunctionMetric
Public Class Methods
new(name, fun_id, loc, val)
click to toggle source
# 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
Private Instance Methods
to_a()
click to toggle source
# File lib/adlint/metric.rb, line 88 def to_a ["MET", @name, *@fun_id.to_a, *@loc.to_a, @val] end