class CC::Analyzer::MeasurementValidations::Validation

Attributes

object[R]

Public Class Methods

new(object) click to toggle source
# File lib/cc/analyzer/measurement_validations/validation.rb, line 5
def initialize(object)
  @object = object
end

Public Instance Methods

message() click to toggle source
# File lib/cc/analyzer/measurement_validations/validation.rb, line 13
def message
  raise NotImplementedError
end
valid?() click to toggle source
# File lib/cc/analyzer/measurement_validations/validation.rb, line 9
def valid?
  raise NotImplementedError
end

Private Instance Methods

type() click to toggle source
# File lib/cc/analyzer/measurement_validations/validation.rb, line 21
def type
  object["type"]
end