Sha256: 67444da7c4880826ff6cb5290f3faffc5a474fa17f0867b33812da9526e10194
Contents?: true
Size: 269 Bytes
Versions: 6
Compression:
Stored size: 269 Bytes
Contents
module Compel module Builder class Boolean < Schema def initialize super(Coercion::Boolean) end def is(value) Coercion.coerce!(value, Coercion::Boolean) options[:is] = value self end end end end
Version data entries
6 entries across 6 versions & 1 rubygems