Class: SmartCore::Operation::Result::Failure
- Defined in:
- lib/smart_core/operation/result/failure.rb
Overview
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from Error
#each_error, #error?, #error_codes, #error_context
Methods inherited from Basic
#callback?, #fatal?, #initialize, #success?
Constructor Details
This class inherits a constructor from SmartCore::Operation::Result::Basic
Instance Method Details
#failure? {|SmartCore::Operation::Result::Failure| ... } ⇒ Boolean
11 12 13 |
# File 'lib/smart_core/operation/result/failure.rb', line 11 def failure? true.tap { yield(self) if block_given? } end |