Class: Apia::Scalars::Boolean
- Inherits:
-
Apia::Scalar
- Object
- Apia::Scalar
- Apia::Scalars::Boolean
- Defined in:
- lib/apia/scalars/boolean.rb
Constant Summary collapse
- TRUE_VALUES =
[true, 'true', 'yes', 1, '1'].freeze
- FALSE_VALUES =
[false, 'false', 'no', 0, '0'].freeze
Method Summary
Methods inherited from Apia::Scalar
cast, definition, parse, valid?
Methods included from Defineable
#create, #inspect, #method_missing, #name, #respond_to_missing?