Module: Dry::Monads::ConversionStubs::Methods Private
- Defined in:
- lib/dry/monads/conversion_stubs.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .to_maybe ⇒ Object private
- .to_result ⇒ Object private
- .to_validated ⇒ Object private
Class Method Details
.to_maybe ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
19 20 21 |
# File 'lib/dry/monads/conversion_stubs.rb', line 19 def to_maybe raise "Load Maybe first with require 'dry/monads/maybe'" end |
.to_result ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 |
# File 'lib/dry/monads/conversion_stubs.rb', line 23 def to_result raise "Load Result first with require 'dry/monads/result'" end |
.to_validated ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
27 28 29 |
# File 'lib/dry/monads/conversion_stubs.rb', line 27 def to_validated raise "Load Validated first with require 'dry/monads/validated'" end |