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