提交 4969b5e7 编写于 作者: J Justin Collins

Add Sexp#original_line

for tracking where a Sexp came from
上级 8b61957a
......@@ -169,3 +169,13 @@ module Brakeman::Util
exp.is_a? Sexp
end
end
class Sexp
def original_line line = nil
if line
@original_line = line
else
@original_line
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册