Sha256: 5308395e693e2a3e3d78be1184c369948156fc21fe251dcd34f9dd85df13bd96

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

# typed: strict

module Mocktail
  class TypeReplacement < T::Struct
    const :type, T.any(T::Class[T.anything], Module)
    prop :original_methods, T.nilable(T::Array[Method])
    prop :replacement_methods, T.nilable(T::Array[Method])
    prop :original_new, T.nilable(Method)
    prop :replacement_new, T.nilable(Method)
  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.rb