Class: Ramda::Internal::Functors::Maybe
- Inherits:
-
Object
- Object
- Ramda::Internal::Functors::Maybe
- Defined in:
- lib/ramda/internal/functors.rb
Overview
The Maybe type represents the possibility of some value or nothing.
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.of(x) ⇒ Object
45 46 47 |
# File 'lib/ramda/internal/functors.rb', line 45 def self.of(x) Some.new(x) end |