Module: Delivered::Types
- Defined in:
- lib/delivered/types.rb
Class Method Summary collapse
Class Method Details
.Any(*types) ⇒ Object
57 |
# File 'lib/delivered/types.rb', line 57 def Any(*types) = AnyType.new(*types) |
.Boolean ⇒ Object
58 |
# File 'lib/delivered/types.rb', line 58 def Boolean = BooleanType.new |
.Nilable(type = nil) ⇒ Object
55 |
# File 'lib/delivered/types.rb', line 55 def Nilable(type = nil) = NilableType.new(type) |
.RespondTo(*methods) ⇒ Object
56 |
# File 'lib/delivered/types.rb', line 56 def RespondTo(*methods) = RespondToType.new(*methods) |