Class: BCDD::Context::Failure

Inherits:
BCDD::Context show all
Includes:
Failure
Defined in:
lib/bcdd/context/failure.rb

Constant Summary

Constants inherited from BCDD::Context

EXPECTED_OUTCOME

Constants inherited from Result

Result::Context, Result::TYPE_AND_VALUE, Result::VERSION

Instance Attribute Summary

Attributes inherited from Result

#data, #event_logs, #terminal

Instance Method Summary collapse

Methods included from Failure

#failure?, #success?, #value_or

Methods inherited from BCDD::Context

Failure, Success, #[], #and_then, #and_then!, #dig, #fetch, #fetch_values, #initialize, #slice, #values_at

Methods inherited from Result

#==, Failure, Success, #and_then, #and_then!, config, configuration, #deconstruct, #deconstruct_keys, event_logs, #failure?, #handle, #hash, #initialize, #inspect, #method_missing, mixin, #on, #on_failure, #on_success, #on_unknown, #respond_to_missing?, #success?, #terminal?, #type, #type?, #value, #value_or

Constructor Details

This class inherits a constructor from BCDD::Context

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BCDD::Result

Instance Method Details

#and_expose(_type, _keys, **_options) ⇒ Object



6
7
8
# File 'lib/bcdd/context/failure.rb', line 6

def and_expose(_type, _keys, **_options)
  self
end