Class: Mocktail::ReconcilesArgsWithParams
- Inherits:
-
Object
- Object
- Mocktail::ReconcilesArgsWithParams
- Extended by:
- T::Sig
- Defined in:
- lib/mocktail/simulates_argument_error/reconciles_args_with_params.rb,
lib/mocktail/sorbet/mocktail/simulates_argument_error/reconciles_args_with_params.rb
Instance Method Summary collapse
Instance Method Details
#reconcile(signature) ⇒ Object
5 6 7 8 |
# File 'lib/mocktail/simulates_argument_error/reconciles_args_with_params.rb', line 5 def reconcile(signature) args_match?(signature.positional_params, signature.positional_args) && kwargs_match?(signature.keyword_params, signature.keyword_args) end |