lib/brakeman/processors/lib/find_call.rb in brakeman-3.0.5 vs lib/brakeman/processors/lib/find_call.rb in brakeman-3.1.0
- old
+ new
@@ -66,14 +66,14 @@
@current_template = template
process exp
end
#Process body of method
- def process_methdef exp
+ def process_defn exp
process_all exp.body
end
- alias :process_selfdef :process_methdef
+ alias :process_defs :process_defn
#Process body of block
def process_rlist exp
process_all exp
end