Sha256: 8a2749212c3dff0b51bb8c86d7df10f591f19b621e8da520cd13f0db4968a8e0

Contents?: true

Size: 879 Bytes

Versions: 1

Compression:

Stored size: 879 Bytes

Contents

class BCDD::Result
  module Mixin
    module Factory
      def self.module!: -> Module
    end

    module Methods
      def Success: (Symbol type, ?untyped value) -> BCDD::Result::Success

      def Failure: (Symbol type, ?untyped value) -> BCDD::Result::Failure

      private

      def _ResultAs: (singleton(BCDD::Result), Symbol, untyped, ?halted: bool) -> untyped
    end

    module Addons
      module Continuable
        include BCDD::Result::Mixin::Methods

        private

        def Continue: (untyped) -> BCDD::Result::Success
      end

      OPTIONS: Hash[Symbol, Module]

      def self.options: (Hash[Symbol, Hash[Symbol, bool]]) -> Hash[Symbol, Module]
    end
  end

  def self.mixin: (?config: Hash[Symbol, Hash[Symbol, bool]]) -> Module

  def self.mixin_module: -> singleton(BCDD::Result::Mixin)

  def self.result_factory: -> singleton(BCDD::Result)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bcdd-result-0.10.0 sig/bcdd/result/mixin.rbs