module Either

Public Instance Methods

match(&block) click to toggle source
# File lib/either.rb, line 2
def match &block
  Match.new.tap { |m| block.call(m) }.evaluate(self)
end