Class: Mixture::Types::Boolean
- Defined in:
- lib/mixture/types/boolean.rb
Overview
The boolean type. Unfortunately, ruby doesn't have a clear cut
boolean primitive (it has TrueClass
and FalseClass
, but no
Boolean
class), so we set the primitive to nil to prevent
odd stuff from happening. It can still be matched by other
values.
Method Summary
Methods inherited from Object
Methods inherited from Type
anonymous?, as, constraint, constraints, inheritable, inherited, inspect, mappings, matches?, options, register, to_s