Sha256: ceb73e9c9b30b1926e46acfffe8dafbe1506ce078f222e4c8f38855bb5e13fcd

Contents?: true

Size: 172 Bytes

Versions: 1

Compression:

Stored size: 172 Bytes

Contents

module Either
  def match &block
    Match.new.tap { |m| block.call(m) }.evaluate(self)
  end
end

require 'optional'
require 'left'
require 'right'
require 'either/match'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
either-0.0.2 lib/either.rb