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

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dry/monads/do.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result) ⇒ Halt

Returns a new instance of Halt.


14
15
16
17
18
# File 'lib/dry/monads/do.rb', line 14

def initialize(result)
  super()

  @result = result
end

Instance Attribute Details

#resultObject (readonly)


12
13
14
# File 'lib/dry/monads/do.rb', line 12

def result
  @result
end