Sha256: bfdc68103e9829a13ed1743eac1e1c99117a73091d91651fc5aed005e302b02c
Contents?: true
Size: 237 Bytes
Versions: 13
Compression:
Stored size: 237 Bytes
Contents
# frozen_string_literal: true module Hako module Schema class Boolean def valid?(object) object.is_a?(FalseClass) || object.is_a?(TrueClass) end def same?(x, y) x == y end end end end
Version data entries
13 entries across 13 versions & 1 rubygems