Method: MethodSequenceChecker#initialize

Defined in:
lib/pippi/checks/method_sequence_checker.rb

#initialize(check, clazz_to_decorate, method1, method2, first_method_arity_type, second_method_arity_type, should_check_subsequent_calls) ⇒ MethodSequenceChecker

Returns a new instance of MethodSequenceChecker.



8
9
10
11
12
13
14
15
16
# File 'lib/pippi/checks/method_sequence_checker.rb', line 8

def initialize(check, clazz_to_decorate, method1, method2, first_method_arity_type, second_method_arity_type, should_check_subsequent_calls)
  @check = check
  @clazz_to_decorate = clazz_to_decorate
  @method1 = method1
  @method2 = method2
  @first_method_arity_type = first_method_arity_type
  @second_method_arity_type = second_method_arity_type
  @should_check_subsequent_calls = should_check_subsequent_calls
end