Sha256: 09a0577100c9fef27ace3f39006bc44c4708a04dccfaf501dca15022ad9a0791
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
# -*- encoding: utf-8 -*- require 'aequitas/rule/numericalness' module Aequitas class Rule class Numericalness class Integer < Numericalness def expected /\A[+-]?\d+\z/ end def violation_type(resource) :not_an_integer end end # class Equal end # class Numericalness end # class Rule end # module Aequitas
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aequitas-0.0.2 | lib/aequitas/rule/numericalness/integer.rb |