Exception: Dry::Monads::Do::Halt Private

Inherits:
StandardError
  • Object
show all
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

Instance Method Summary collapse

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

#resultObject (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