class VCLog::Heuristics::Type

Attributes

label[R]
level[R]
type[R]

Public Class Methods

new(type, level, label) click to toggle source
# File lib/vclog/heuristics/type.rb, line 9
def initialize(type, level, label)
  @type  = type.to_sym
  @level = level.to_i
  @label = label.to_s
end

Public Instance Methods

to_a() click to toggle source
# File lib/vclog/heuristics/type.rb, line 22
def to_a
  [type, level, label]
end