Sha256: aeda9f410795e2c7c7e5648c24d72c4fda899165325b93f2c27c9af6a95c3a2e

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

# typed: strict

module Mocktail
  class TypeReplacementData < T::Struct
    extend T::Sig

    const :type, T.any(T::Class[T.anything], Module)
    const :replaced_method_names, T::Array[Symbol]
    const :calls, T::Array[Call]
    const :stubbings, T::Array[Stubbing[T.anything]]

    include ExplanationData

    sig { returns(T.any(T::Class[T.anything], Module)) }
    def double
      type
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mocktail-2.0.0 lib/mocktail/sorbet/mocktail/value/type_replacement_data.rb