lib/brakeman/processors/lib/basic_processor.rb in brakeman-min-3.1.5 vs lib/brakeman/processors/lib/basic_processor.rb in brakeman-min-3.2.0.pre1
- old
+ new
@@ -12,6 +12,22 @@
end
def process_default exp
process_all exp
end
+
+ def process_safe_call exp
+ if self.respond_to? :process_call
+ process_call exp
+ else
+ process_default exp
+ end
+ end
+
+ def process_safe_attrasgn exp
+ if self.respond_to? :process_attrasgn
+ process_attrasgn exp
+ else
+ process_default exp
+ end
+ end
end