Exception: NotMonads::Do::Halt
- Inherits:
-
StandardError
- Object
- StandardError
- NotMonads::Do::Halt
- Defined in:
- lib/not_monads/do.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ Halt
constructor
A new instance of Halt.
Constructor Details
#initialize(result) ⇒ Halt
Returns a new instance of Halt.
32 33 34 35 |
# File 'lib/not_monads/do.rb', line 32 def initialize(result) super() @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
30 31 32 |
# File 'lib/not_monads/do.rb', line 30 def result @result end |