Module: Option
- Defined in:
- lib/trither/option.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.make(value) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/trither/option.rb', line 2 def self.make(value) if value.nil? None else Some.new(value) end end |