Class: Mona::Result::Dict::Err
- Includes:
- ReadInterface
- Defined in:
- lib/mona/result/dict.rb
Overview
Err dict result
Instance Attribute Summary
Attributes inherited from Err
Instance Method Summary collapse
Methods included from ReadInterface
Methods inherited from Err
#and_tap, #and_then, #deconstruct, #deconstruct_keys, #either, #err, #err?, #initialize, #ok, #ok?, #or_else, #to_result, #to_s, #value_or
Constructor Details
This class inherits a constructor from Mona::Result::Err
Instance Method Details
#sequence ⇒ Object
49 |
# File 'lib/mona/result/dict.rb', line 49 def sequence(&) = self |
#set(_key, _val) ⇒ Object
47 |
# File 'lib/mona/result/dict.rb', line 47 def set(_key, _val) = raise(Error, "cannot #set on #{self}") |
#to_h ⇒ Object
51 |
# File 'lib/mona/result/dict.rb', line 51 def to_h = @failure |