Class: Compel::Builder::Boolean
- Defined in:
- lib/compel/builder/boolean.rb
Instance Attribute Summary
Attributes inherited from Schema
Instance Method Summary collapse
-
#initialize ⇒ Boolean
constructor
A new instance of Boolean.
- #is(value, options = {}) ⇒ Object
Methods inherited from Schema
#build_option, #default_options, #default_value, human_name, #required?, #validate
Methods included from Common
#coerce_if_proc, #default, #if, #length, #max_length, #min_length, #required