Sha256: 57c98d4e32036fc371e32e87498b2c906ec6ec72d71658b22093cf2b9a579f47
Contents?: true
Size: 303 Bytes
Versions: 24
Compression:
Stored size: 303 Bytes
Contents
module CC module Analyzer module MeasurementValidations class TypeValidation < Validation def valid? type && type.casecmp("measurement").zero? end def message "Type must be 'measurement' but was '#{type}'" end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems