Class: Mocktail::ImitatesType
- Inherits:
-
Object
- Object
- Mocktail::ImitatesType
- Extended by:
- T::Generic, T::Sig
- Defined in:
- lib/mocktail/imitates_type.rb,
lib/mocktail/sorbet/mocktail/imitates_type.rb
Instance Method Summary collapse
- #imitate(type) ⇒ Object
-
#initialize ⇒ ImitatesType
constructor
A new instance of ImitatesType.
Constructor Details
#initialize ⇒ ImitatesType
Returns a new instance of ImitatesType.
9 10 11 12 |
# File 'lib/mocktail/imitates_type.rb', line 9 def initialize @ensures_imitation_support = EnsuresImitationSupport.new @makes_double = MakesDouble.new end |