Class: Unsound::Data::Maybe Abstract
- Inherits:
-
Object
- Object
- Unsound::Data::Maybe
- Includes:
- AbstractType
- Defined in:
- lib/unsound/data/maybe.rb
Overview
This class is abstract.
Class Method Summary collapse
-
.of(value) ⇒ Data::Just
Wraps a raw value in a Just.
Class Method Details
.of(value) ⇒ Data::Just
Wraps a raw value in a Just
14 15 16 |
# File 'lib/unsound/data/maybe.rb', line 14 def self.of(value) Just.new(value) end |