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