Sha256: e87db8fbf8da41069d1267dddf871b55ec576f109fa34cf380272bf964c22b01

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

module Solid
  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: -> Solid::Result::Contract::TypeChecker
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solid-result-2.0.0 sig/solid/success.rbs