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