Class: SimpleOperation::WrappedValue
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- SimpleOperation::WrappedValue
- Defined in:
- lib/simple_operation/wrapped_value.rb
Instance Attribute Summary collapse
-
#delegate_sd_obj ⇒ Object
(also: #unwrap)
readonly
Returns the value of attribute delegate_sd_obj.
Instance Method Summary collapse
Instance Attribute Details
#delegate_sd_obj ⇒ Object (readonly) Also known as: unwrap
Returns the value of attribute delegate_sd_obj.
4 5 6 |
# File 'lib/simple_operation/wrapped_value.rb', line 4 def delegate_sd_obj @delegate_sd_obj end |
Instance Method Details
#on_failure(reason = nil) ⇒ Object
10 11 12 |
# File 'lib/simple_operation/wrapped_value.rb', line 10 def on_failure(reason = nil) self end |
#on_success ⇒ Object
6 7 8 |
# File 'lib/simple_operation/wrapped_value.rb', line 6 def on_success self end |