lib/reek/context_builder.rb in reek-4.8.0 vs lib/reek/context_builder.rb in reek-4.8.1

- old
+ new

@@ -204,11 +204,11 @@ # # An input example that would trigger this method would be: # # def self.foo; end # - def process_self(_, _parent) + def process_self(_exp, _parent) current_context.record_use_of_self end # Handles `zsuper` nodes a.k.a. calls to `super` without any arguments but a block possibly. # @@ -224,10 +224,10 @@ # # def call_me; super(); end # # We record one reference to `self`. # - def process_zsuper(_, _parent) + def process_zsuper(_exp, _parent) current_context.record_use_of_self end # Handles `super` nodes a.k.a. calls to `super` with arguments #