Class: USaidWat::Right
Instance Attribute Summary
Attributes inherited from Either
Instance Method Summary collapse
Methods inherited from Either
Constructor Details
This class inherits a constructor from USaidWat::Either
Instance Method Details
#>>(callable) ⇒ Object
33 34 35 |
# File 'lib/usaidwat/either.rb', line 33 def >>(callable) callable.call(self) end |
#right? ⇒ Boolean
37 38 39 |
# File 'lib/usaidwat/either.rb', line 37 def right? true end |