Class: ParamParam::Result
- Inherits:
-
Object
- Object
- ParamParam::Result
- Defined in:
- lib/param_param/result.rb
Overview
Defines operation result pattern. A result can be a success or a failure and has some value.
Instance Method Summary collapse
-
#failure? ⇒ Boolean
Returns
false
. -
#success? ⇒ Boolean
Returns
false
.
Instance Method Details
#failure? ⇒ Boolean
Returns false
.
13 14 15 |
# File 'lib/param_param/result.rb', line 13 def failure? false end |
#success? ⇒ Boolean
Returns false
.
8 9 10 |
# File 'lib/param_param/result.rb', line 8 def success? false end |