Class: Delivered::BooleanType
- Inherits:
-
Object
- Object
- Delivered::BooleanType
- Defined in:
- lib/delivered/types.rb
Instance Method Summary collapse
- #===(value) ⇒ Object
-
#initialize ⇒ BooleanType
constructor
A new instance of BooleanType.
- #inspect ⇒ Object
Constructor Details
#initialize ⇒ BooleanType
Returns a new instance of BooleanType.
92 93 94 |
# File 'lib/delivered/types.rb', line 92 def initialize freeze end |
Instance Method Details
#===(value) ⇒ Object
98 99 100 |
# File 'lib/delivered/types.rb', line 98 def ===(value) [true, false].include?(value) end |
#inspect ⇒ Object
96 |
# File 'lib/delivered/types.rb', line 96 def inspect = 'Boolean' |