Module: Fear::Either::Mixin
- Included in:
- Mixin
- Defined in:
- lib/fear/either.rb
Overview
Include this mixin to access convenient factory methods.
Instance Method Summary collapse
Instance Method Details
#Left(value) ⇒ Fear::Left
312 313 314 |
# File 'lib/fear/either.rb', line 312 def Left(value) Fear.left(value) end |
#Right(value) ⇒ Fear::Right
321 322 323 |
# File 'lib/fear/either.rb', line 321 def Right(value) Fear.right(value) end |