Parent

Methods

MetricFu::Flog::Operator

Attributes

operator[RW]
score[RW]

Public Class Methods

new(score, operator) click to toggle source
# File lib/generators/flog.rb, line 112
def initialize(score, operator)
  @score = score.to_f
  @operator = operator
end

Public Instance Methods

to_h() click to toggle source
# File lib/generators/flog.rb, line 117
def to_h
  {:score => @score, :operator => @operator}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.