Sha256: 511adacfe7924e72a01a918d67ea97ecf485241135be608a2aa955130d808f78

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

module BCDD
  module Success
    def success?: (?Symbol type) -> bool
    def failure?: (?Symbol type) -> bool
    def value_or: { () -> 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/success.rbs
bcdd-result-1.0.0 sig/bcdd/success.rbs