Exception: Mangrove::Result::ControlSignal
- Inherits:
-
StandardError
- Object
- StandardError
- Mangrove::Result::ControlSignal
- Extended by:
- T::Sig
- Includes:
- ControlFlow::ControlSignal
- Defined in:
- lib/mangrove/result/control_signal.rb
Instance Attribute Summary collapse
- #inner_value ⇒ T.untyped readonly
Instance Method Summary collapse
- #==(other) ⇒ Boolean
- #initialize(inner_value) ⇒ void constructor
Constructor Details
#initialize(inner_value) ⇒ void
14 15 16 17 |
# File 'lib/mangrove/result/control_signal.rb', line 14 def initialize(inner_value) @inner_value = inner_value super end |
Instance Attribute Details
#inner_value ⇒ T.untyped (readonly)
30 31 32 |
# File 'lib/mangrove/result/control_signal.rb', line 30 def inner_value @inner_value end |
Instance Method Details
#==(other) ⇒ Boolean
20 21 22 23 24 25 26 27 |
# File 'lib/mangrove/result/control_signal.rb', line 20 def ==(other) case other when ControlSignal other.inner_value == inner_value else false end end |