Class: Plumb::Result::Valid
- Inherits:
-
Plumb::Result
- Object
- Plumb::Result
- Plumb::Result::Valid
- Defined in:
- lib/plumb/result.rb
Instance Attribute Summary
Attributes inherited from Plumb::Result
Instance Method Summary collapse
Methods inherited from Plumb::Result
#initialize, #inspect, invalid, #invalid, #invalid?, #reset, valid, #valid, #valid?, wrap
Constructor Details
This class inherits a constructor from Plumb::Result
Instance Method Details
#map(callable) ⇒ Object
50 51 52 |
# File 'lib/plumb/result.rb', line 50 def map(callable) callable.call(self) end |