Sha256: cec92d094ee1bd006cff3d447878f9104dec3b08e520ded5254bbd40d2ee2f39

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

module BCDD
  module Failure
    def success?: (?Symbol type) -> bool
    def failure?: (?Symbol type) -> bool
    def value_or: { (untyped) -> untyped } -> untyped
    def value: -> untyped

    private

    def kind: -> Symbol
    def type_checker: -> BCDD::Result::Contract::TypeChecker
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bcdd-result-1.1.0 sig/bcdd/failure.rbs
bcdd-result-1.0.0 sig/bcdd/failure.rbs