Exception: Dry::Monads::Do::Halt Private
- Inherits:
-
StandardError
- Object
- StandardError
- Dry::Monads::Do::Halt
- Defined in:
- lib/dry/monads/do.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #result ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(result) ⇒ Halt
constructor
private
A new instance of Halt.
Constructor Details
#initialize(result) ⇒ Halt
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.
Returns a new instance of Halt.
22 23 24 25 26 |
# File 'lib/dry/monads/do.rb', line 22 def initialize(result) super() @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
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.
20 21 22 |
# File 'lib/dry/monads/do.rb', line 20 def result @result end |