Class: Mocktail::InitializesMocktail
- Inherits:
-
Object
- Object
- Mocktail::InitializesMocktail
- Extended by:
- T::Sig
- Defined in:
- lib/mocktail/initializes_mocktail.rb,
lib/mocktail/sorbet/mocktail/initializes_mocktail.rb
Instance Method Summary collapse
Instance Method Details
#init ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/mocktail/initializes_mocktail.rb', line 5 def init [ Mocktail::Matchers::Any, Mocktail::Matchers::Includes, Mocktail::Matchers::IncludesString, Mocktail::Matchers::IncludesKey, Mocktail::Matchers::IncludesHash, Mocktail::Matchers::IsA, Mocktail::Matchers::Matches, Mocktail::Matchers::Not, Mocktail::Matchers::Numeric, Mocktail::Matchers::That ].each do |matcher_type| Mocktail.register_matcher(matcher_type) end end |