lib/reek/context/method_context.rb in reek-6.1.4 vs lib/reek/context/method_context.rb in reek-6.2.0
- old
+ new
@@ -13,10 +13,10 @@
attr_reader :refs
def initialize(exp, parent_exp)
@parent_exp = parent_exp
@visibility = :public
- super exp
+ super(exp)
end
def references_self?
exp.depends_on_instance?
end