Class: Primalize::Single::All
- Inherits:
-
Object
- Object
- Primalize::Single::All
- Includes:
- Type
- Defined in:
- lib/primalize/single.rb
Constant Summary
Constants included from Type
Instance Method Summary collapse
- #===(value) ⇒ Object
-
#initialize(types, &coercion) ⇒ All
constructor
A new instance of All.
- #inspect ⇒ Object
Methods included from Type
Constructor Details
#initialize(types, &coercion) ⇒ All
Returns a new instance of All.
433 434 435 436 |
# File 'lib/primalize/single.rb', line 433 def initialize types, &coercion @types = types @coercion = coercion end |