Sha256: ef044d01a71c48606c9a796e5ede69c6d0ed14626e6de7e672822f432f776276

Contents?: true

Size: 334 Bytes

Versions: 11

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

module Kind
  module Monad
    Error = ::Class.new(Kind::Error)

    class Wrapper
      def initialize(monad)
        @monad = monad
        @output = UNDEFINED
      end

      def output?
        UNDEFINED != @output
      end

      def output
        @output if output?
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
kind-5.10.0 lib/kind/monad.rb
kind-5.9.0 lib/kind/monad.rb
kind-5.8.1 lib/kind/monad.rb
kind-5.8.0 lib/kind/monad.rb
kind-5.7.0 lib/kind/monad.rb
kind-5.6.0 lib/kind/monad.rb
kind-5.5.0 lib/kind/monad.rb
kind-5.4.1 lib/kind/monad.rb
kind-5.4.0 lib/kind/monad.rb
kind-5.3.0 lib/kind/monad.rb
kind-5.2.0 lib/kind/monad.rb