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
332 333 334 |
# File 'lib/fear/either.rb', line 332 def Left(value) Fear.left(value) end |
#Right(value) ⇒ Fear::Right
341 342 343 |
# File 'lib/fear/either.rb', line 341 def Right(value) Fear.right(value) end |