Module: Fear::EitherApi
- Included in:
- Fear
- Defined in:
- lib/fear/either_api.rb
Instance Method Summary collapse
Instance Method Details
#left(value) ⇒ Fear::Left
10 11 12 |
# File 'lib/fear/either_api.rb', line 10 def left(value) Fear::Left.new(value) end |
#right(value) ⇒ Fear::Right
19 20 21 |
# File 'lib/fear/either_api.rb', line 19 def right(value) Fear::Right.new(value) end |