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