Sha256: 445fdf3d8b2fbaa360662cfc1ae1522c85c138c0607eb0db9cf1d24f206eddda
Contents?: true
Size: 302 Bytes
Versions: 7
Compression:
Stored size: 302 Bytes
Contents
# frozen_string_literal: true require "singleton" module Strict module Validators class Boolean include Singleton def ===(value) value.equal?(true) || value.equal?(false) end def inspect "Boolean()" end alias to_s inspect end end end
Version data entries
7 entries across 7 versions & 1 rubygems